<?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 Zooming to a level based on a condition in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zooming-to-a-level-based-on-a-condition/m-p/14430#M1349</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a situation where I want the map to be zoomed to a level based on a condition like&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;if(location="Street"){ //zoom should make even the streets visible } else if(location="postal"){ //zoom should be slightly less than Street level } else if(location="city"){ //zoom to city level - just cities need to be visible }&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How should I do this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 17 Nov 2012 07:50:41 GMT</pubDate>
    <dc:creator>PrasannaRaghavendar</dc:creator>
    <dc:date>2012-11-17T07:50:41Z</dc:date>
    <item>
      <title>Zooming to a level based on a condition</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zooming-to-a-level-based-on-a-condition/m-p/14430#M1349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a situation where I want the map to be zoomed to a level based on a condition like&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;if(location="Street"){ //zoom should make even the streets visible } else if(location="postal"){ //zoom should be slightly less than Street level } else if(location="city"){ //zoom to city level - just cities need to be visible }&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How should I do this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Nov 2012 07:50:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zooming-to-a-level-based-on-a-condition/m-p/14430#M1349</guid>
      <dc:creator>PrasannaRaghavendar</dc:creator>
      <dc:date>2012-11-17T07:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Zooming to a level based on a condition</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zooming-to-a-level-based-on-a-condition/m-p/14431#M1350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;See this &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/map_switch_layer_on_zoom.html" rel="nofollow" target="_blank"&gt;example&lt;/A&gt;&lt;SPAN&gt; might be helpfull to you...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2012 08:59:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zooming-to-a-level-based-on-a-condition/m-p/14431#M1350</guid>
      <dc:creator>ManojrajTeli</dc:creator>
      <dc:date>2012-11-19T08:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Zooming to a level based on a condition</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zooming-to-a-level-based-on-a-condition/m-p/14432#M1351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Let us know if there are any questions after working through that example.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 14:32:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zooming-to-a-level-based-on-a-condition/m-p/14432#M1351</guid>
      <dc:creator>EdwardHinkle</dc:creator>
      <dc:date>2012-11-20T14:32:37Z</dc:date>
    </item>
  </channel>
</rss>

