<?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: WebMap JSON and Identifying Visible Layers in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webmap-json-and-identifying-visible-layers/m-p/567988#M52993</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am struggling with this same issue. I'd prefer no to rewrite the identify logic, as there are many layer types already supported by the default behavior. There must be a mechanism for changing this so the popup respects it but I have yet to find it. I will post here if I stumble across a solution.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Feb 2014 18:08:10 GMT</pubDate>
    <dc:creator>AdamConner</dc:creator>
    <dc:date>2014-02-20T18:08:10Z</dc:date>
    <item>
      <title>WebMap JSON and Identifying Visible Layers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webmap-json-and-identifying-visible-layers/m-p/567987#M52992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am creating my map based on the Web Map JSON format:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/arcgis-web-map-json/#/Web_map_format_overview/02qt00000007000000/"&gt;http://resources.arcgis.com/en/help/arcgis-web-map-json/#/Web_map_format_overview/02qt00000007000000/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/esri.arcgis.utils-amd.html#createmap"&gt;https://developers.arcgis.com/javascript/jsapi/esri.arcgis.utils-amd.html#createmap&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Doing this, identify operations are automatically set up according to the popup configuration in the JSON.&amp;nbsp; (In other words, I don't have to write code myself to set up IdentifyTasks.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If a given operational layer is visible, the default identify behavior appears to identify against the default visible layers.&amp;nbsp; However, I am switching layers on and off through the setVisibleLayers function here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/arcgisdynamicmapservicelayer-amd.html#setvisiblelayers"&gt;https://developers.arcgis.com/javascript/jsapi/arcgisdynamicmapservicelayer-amd.html#setvisiblelayers&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Doing this, the pop-ups will sometimes display results for layers that aren't visible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to change this behavior without rewriting the identify logic myself?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 19:56:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webmap-json-and-identifying-visible-layers/m-p/567987#M52992</guid>
      <dc:creator>MattNicol</dc:creator>
      <dc:date>2014-02-04T19:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: WebMap JSON and Identifying Visible Layers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webmap-json-and-identifying-visible-layers/m-p/567988#M52993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am struggling with this same issue. I'd prefer no to rewrite the identify logic, as there are many layer types already supported by the default behavior. There must be a mechanism for changing this so the popup respects it but I have yet to find it. I will post here if I stumble across a solution.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 18:08:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webmap-json-and-identifying-visible-layers/m-p/567988#M52993</guid>
      <dc:creator>AdamConner</dc:creator>
      <dc:date>2014-02-20T18:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: WebMap JSON and Identifying Visible Layers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webmap-json-and-identifying-visible-layers/m-p/567989#M52994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is a known bug - look here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/81954-NIM085352-When-will-be-this-bug-fixed"&gt;http://forums.arcgis.com/threads/81954-NIM085352-When-will-be-this-bug-fixed&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://support.esri.com/en/bugs/nimbus/TklNMDg1MzUy"&gt;http://support.esri.com/en/bugs/nimbus/TklNMDg1MzUy&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 06:02:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webmap-json-and-identifying-visible-layers/m-p/567989#M52994</guid>
      <dc:creator>MartinRinner</dc:creator>
      <dc:date>2014-02-21T06:02:59Z</dc:date>
    </item>
  </channel>
</rss>

