<?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 Set displayLevels dynamically? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/set-displaylevels-dynamically/m-p/733874#M67985</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm new to js api. Recently I've been working on a map project which shows water wells information. When I add the well layer, I set its displayLevels such as [13, 14...]. It works ok. When I search by well id, it works perfectly. However, if I search by well management system which covers many wells, the resulting extent seems too large to be display correctly. I use setExtent(extent, true).&amp;nbsp;&amp;nbsp; Is there a way to reset displayLevels according to the extent of returned wells? Or any other solutions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jan 2014 11:58:19 GMT</pubDate>
    <dc:creator>fuliaoli</dc:creator>
    <dc:date>2014-01-15T11:58:19Z</dc:date>
    <item>
      <title>Set displayLevels dynamically?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/set-displaylevels-dynamically/m-p/733874#M67985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm new to js api. Recently I've been working on a map project which shows water wells information. When I add the well layer, I set its displayLevels such as [13, 14...]. It works ok. When I search by well id, it works perfectly. However, if I search by well management system which covers many wells, the resulting extent seems too large to be display correctly. I use setExtent(extent, true).&amp;nbsp;&amp;nbsp; Is there a way to reset displayLevels according to the extent of returned wells? Or any other solutions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 11:58:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/set-displaylevels-dynamically/m-p/733874#M67985</guid>
      <dc:creator>fuliaoli</dc:creator>
      <dc:date>2014-01-15T11:58:19Z</dc:date>
    </item>
  </channel>
</rss>

