<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Add NAIP Imagery as a Map Service in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/add-naip-imagery-as-a-map-service/m-p/569826#M12848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to add the latest NAIP for Colorado from the USDA to my Flex Project.&amp;nbsp; I'm struggling with this, and not able to display the data.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The service I'm trying to access is at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://gis.apfo.usda.gov/ArcGIS/rest/services/NAIP_Imagery/Colorado/MapServer"&gt;http://gis.apfo.usda.gov/ArcGIS/rest/services/NAIP_Imagery/Colorado/MapServer&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and the line of code in the SFV Config.xml calling the service is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;lt;mapservice label="Test Colorado NAIP" type="tiled" visible="true" alpha="1" icon="com/esri/solutions/flexviewer/assets/images/icons/i_shuttle.png"&amp;gt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://gis.apfo.usda.gov/ArcGIS/rest/services/NAIP_Imagery/Colorado/MapServer" rel="nofollow" target="_blank"&gt;http://gis.apfo.usda.gov/ArcGIS/rest/services/NAIP_Imagery/Colorado/MapServer&lt;/A&gt;&lt;SPAN&gt;&amp;lt;/mapservice&amp;gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for your help !!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt Shetzer&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Jul 2010 17:09:47 GMT</pubDate>
    <dc:creator>MattShetzer</dc:creator>
    <dc:date>2010-07-23T17:09:47Z</dc:date>
    <item>
      <title>Add NAIP Imagery as a Map Service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/add-naip-imagery-as-a-map-service/m-p/569826#M12848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to add the latest NAIP for Colorado from the USDA to my Flex Project.&amp;nbsp; I'm struggling with this, and not able to display the data.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The service I'm trying to access is at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://gis.apfo.usda.gov/ArcGIS/rest/services/NAIP_Imagery/Colorado/MapServer"&gt;http://gis.apfo.usda.gov/ArcGIS/rest/services/NAIP_Imagery/Colorado/MapServer&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and the line of code in the SFV Config.xml calling the service is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;lt;mapservice label="Test Colorado NAIP" type="tiled" visible="true" alpha="1" icon="com/esri/solutions/flexviewer/assets/images/icons/i_shuttle.png"&amp;gt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://gis.apfo.usda.gov/ArcGIS/rest/services/NAIP_Imagery/Colorado/MapServer" rel="nofollow" target="_blank"&gt;http://gis.apfo.usda.gov/ArcGIS/rest/services/NAIP_Imagery/Colorado/MapServer&lt;/A&gt;&lt;SPAN&gt;&amp;lt;/mapservice&amp;gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for your help !!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt Shetzer&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 17:09:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/add-naip-imagery-as-a-map-service/m-p/569826#M12848</guid>
      <dc:creator>MattShetzer</dc:creator>
      <dc:date>2010-07-23T17:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Add NAIP Imagery as a Map Service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/add-naip-imagery-as-a-map-service/m-p/569827#M12849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Matt,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; When you go to the link that you provided the REST Service Directory tells you that you are working with a dynamic map service and not a tiled one. You can determine this by seeing that there is no LOD defined in the service directory. So all you need to do is change the type="dynamic" in your config.xml and you should be good to go.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 17:21:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/add-naip-imagery-as-a-map-service/m-p/569827#M12849</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-07-23T17:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Add NAIP Imagery as a Map Service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/add-naip-imagery-as-a-map-service/m-p/569828#M12850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Perfect !!! That did the trick !! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Robert.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 17:29:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/add-naip-imagery-as-a-map-service/m-p/569828#M12850</guid>
      <dc:creator>MattShetzer</dc:creator>
      <dc:date>2010-07-23T17:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: Add NAIP Imagery as a Map Service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/add-naip-imagery-as-a-map-service/m-p/569829#M12851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Everything works great in Development and when I test in Flex, but when I push it up to the Server, the Imagery just appears as a gray background, and is not loading anything.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Aug 2010 04:01:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/add-naip-imagery-as-a-map-service/m-p/569829#M12851</guid>
      <dc:creator>MattShetzer</dc:creator>
      <dc:date>2010-08-01T04:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Add NAIP Imagery as a Map Service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/add-naip-imagery-as-a-map-service/m-p/569830#M12852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Matt,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; They do not seem to have a crossdomain.xml file on their server. Flex is looking for &lt;/SPAN&gt;&lt;A href="http://gis.apfo.usda.gov/crossdomain.xml"&gt;http://gis.apfo.usda.gov/crossdomain.xml&lt;/A&gt;&lt;SPAN&gt; and can not find it. Adobe has a concept call security sandboxes and when you are developing on your dev machine you are in a local trusted sandbox and can see their map service with out the crossdomain.xml but when you deploy to your server you are no longer in the local sandbox and Flex requires the crossdomain.xml on their server. The other option beside contacting them and asking them to put a crossdomain.xml on thier server is to use the proxy server that comes with Flexviewer. Using a proxy allows you to connect with their map service without the crossdomain.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;More info on crossdomain here: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/help/content/deploy_application.htm"&gt;http://help.arcgis.com/en/webapi/flex/help/content/deploy_application.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;More info in using a proxy here: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/ags_proxy.htm"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/ags_proxy.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Aug 2010 10:45:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/add-naip-imagery-as-a-map-service/m-p/569830#M12852</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-08-01T10:45:41Z</dc:date>
    </item>
  </channel>
</rss>

