<?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 Re: Adding a WMS Layer to ArcGIS Viewer for Flex in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-a-wms-layer-to-arcgis-viewer-for-flex/m-p/74091#M2554</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was able to get wms layer to display in flex sample viewer, as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;layer label="OpenStreetMap" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type="wms" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; visible="true" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; skipgetcapabilities="true" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; version="1.1.1"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://maps.opengeo.org/geoserver/ows" rel="nofollow" target="_blank"&gt;http://maps.opengeo.org/geoserver/ows&lt;/A&gt;&lt;SPAN&gt;?"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; visiblelayers="countries" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wkid="3857"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/layer&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jan 2012 20:56:14 GMT</pubDate>
    <dc:creator>JodiLuostarinen</dc:creator>
    <dc:date>2012-01-20T20:56:14Z</dc:date>
    <item>
      <title>Adding a WMS Layer to ArcGIS Viewer for Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-a-wms-layer-to-arcgis-viewer-for-flex/m-p/74088#M2551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For some reason I can't add an WMS layer to a Flex Viewer. I have this in the config file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;layer label="NRCan"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; type="wms"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; skipgetcapabilities="true"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://mapping.gw.govt.nz/ArcGIS/services/GW/Our_Environment_P/MapServer/WMSServer" rel="nofollow" target="_blank"&gt;http://mapping.gw.govt.nz/ArcGIS/services/GW/Our_Environment_P/MapServer/WMSServer&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; visible="true"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; visiblelayers="limits"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However nothing shows?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2012 00:15:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-a-wms-layer-to-arcgis-viewer-for-flex/m-p/74088#M2551</guid>
      <dc:creator>ShaunWeston</dc:creator>
      <dc:date>2012-01-19T00:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a WMS Layer to ArcGIS Viewer for Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-a-wms-layer-to-arcgis-viewer-for-flex/m-p/74089#M2552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Shaun,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I am not sure where you got the layer name of "limits" from? If you add this url: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://mapping.gw.govt.nz/ArcGIS/services/GW/Our_Environment_P/MapServer/WMSServer?request=GetCapabilities&amp;amp;service=WMS" rel="nofollow" target="_blank"&gt;http://mapping.gw.govt.nz/ArcGIS/services/GW/Our_Environment_P/MapServer/WMSServer?request=GetCapabilities&amp;amp;service=WMS&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to ArcCatalog using the GIS Servers and then Add WMS Server and then click get layers you can then click on individual layers (not groups) and find their names and that is what has to be listed in the visiblelayers attribute.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;layer label="NRCan" type="wms" skipgetcapabilities="true" version="1.3.0" wkid="102100" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url="http://mapping.gw.govt.nz/ArcGIS/services/GW/Our_Environment_P/MapServer/WMSServer" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; visible="true" visiblelayers="33,34,35,36,37,38,39,40"/&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't forget to click the top arrow (promote) and to click the Mark as answer check as shown below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg"&gt;&lt;IMG src="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg" /&gt;&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2012 01:57:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-a-wms-layer-to-arcgis-viewer-for-flex/m-p/74089#M2552</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-01-19T01:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a WMS Layer to ArcGIS Viewer for Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-a-wms-layer-to-arcgis-viewer-for-flex/m-p/74090#M2553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Oh ha I was getting that "limits" from an example, but I see how that works now, thanks heaps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2012 17:45:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-a-wms-layer-to-arcgis-viewer-for-flex/m-p/74090#M2553</guid>
      <dc:creator>ShaunWeston</dc:creator>
      <dc:date>2012-01-19T17:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a WMS Layer to ArcGIS Viewer for Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-a-wms-layer-to-arcgis-viewer-for-flex/m-p/74091#M2554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was able to get wms layer to display in flex sample viewer, as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;layer label="OpenStreetMap" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type="wms" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; visible="true" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; skipgetcapabilities="true" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; version="1.1.1"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://maps.opengeo.org/geoserver/ows" rel="nofollow" target="_blank"&gt;http://maps.opengeo.org/geoserver/ows&lt;/A&gt;&lt;SPAN&gt;?"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; visiblelayers="countries" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wkid="3857"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/layer&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2012 20:56:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-a-wms-layer-to-arcgis-viewer-for-flex/m-p/74091#M2554</guid>
      <dc:creator>JodiLuostarinen</dc:creator>
      <dc:date>2012-01-20T20:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a WMS Layer to ArcGIS Viewer for Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-a-wms-layer-to-arcgis-viewer-for-flex/m-p/74092#M2555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If I copy the code from you guys I get the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For the code of Jodi Luostarinen:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I go to &lt;/SPAN&gt;&lt;A href="http://localhost/flexviewer/"&gt;http://localhost/flexviewer/&lt;/A&gt;&lt;SPAN&gt; and I get the error: 'A problem occurred while parsing the configuration file config.xml Error#1090'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've checked the url in ArcCatalog (Add WMS Server) and it works, but there it mentions the name of the layer as 'osm:countries'. Tried that as well, same error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For the code of Robert Scheitlin (mapping.gw.govt.nz etc..)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I go to &lt;/SPAN&gt;&lt;A href="http://localhost/flexviewer/"&gt;http://localhost/flexviewer/&lt;/A&gt;&lt;SPAN&gt; and it will show the flexviewer, if I go to 'More..' I can see the layer, but when I click 'Zoom to'. It zooms out to full extent and further nothing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to add a layer from GeoServer via &lt;/SPAN&gt;&lt;A href="http://localhost:8080/geoserver/wms?"&gt;http://localhost:8080/geoserver/wms?&lt;/A&gt;&lt;SPAN&gt;, (got visiblelayers="tiger:giant_polygon", from WMS Service Properties in ArcCatalog) but also no luck. What ever I try it is or Error#1090 or it zooms out to full extent by clicking 'Zoom to'. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I even desperately add a crossdomain.xml in my webroot folder eventhough I use the tag skipgetcapabilities.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My last thought: do I need to use a live server instead of localhost?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2012 16:06:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-a-wms-layer-to-arcgis-viewer-for-flex/m-p/74092#M2555</guid>
      <dc:creator>mattijnvan_hoek</dc:creator>
      <dc:date>2012-01-27T16:06:35Z</dc:date>
    </item>
  </channel>
</rss>

