<?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: Zoom doesn't work in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-doesn-t-work/m-p/665583#M62171</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You add more LODs if the parcel is small and the Tiled Map Service does not zoom in far enough, or you use dynamic map services instead (as we have both mentioned). It is really not a big issue, other APIs like Flex did the same thing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Oct 2014 15:41:44 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2014-10-03T15:41:44Z</dc:date>
    <item>
      <title>Zoom doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-doesn-t-work/m-p/665577#M62165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand how there have been no complaints about zooming in the javascript api.&amp;nbsp;&amp;nbsp; You can take any tiled sample.&amp;nbsp; Draw a box around an area you want to zoom to (shift + mouse move).&amp;nbsp; It will either go too far or not far enough.&amp;nbsp; How hard is it to find the extent of the box and zoom to those coordinates???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am in IE 10.&lt;/P&gt;&lt;P&gt;You can use as an example &lt;A href="http://developers.arcgis.com/javascript/samples/widget_home/" title="http://developers.arcgis.com/javascript/samples/widget_home/"&gt;Home Extent&lt;/A&gt; .&amp;nbsp;&amp;nbsp; And pick any state and draw a box to zoom in.&amp;nbsp; It will not honor your box coordinates.&amp;nbsp; What gives?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I specify coordinates or a box and have the tiled service actually zoom to that exact area?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 14:54:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-doesn-t-work/m-p/665577#M62165</guid>
      <dc:creator>BrentHoskisson</dc:creator>
      <dc:date>2014-10-03T14:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-doesn-t-work/m-p/665578#M62166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tiled map service have predefined LODs (Levels of Display) that the map service is cached at and the zoom function will always go to the nearest LOD for that map service. If you do not like this than you can take the performance hit and use Dynamic map services instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 14:59:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-doesn-t-work/m-p/665578#M62166</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-10-03T14:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-doesn-t-work/m-p/665579#M62167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're kidding right?&amp;nbsp; Other API's don't force a Level of Display (Silverlight for example).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 15:03:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-doesn-t-work/m-p/665579#M62167</guid>
      <dc:creator>BrentHoskisson</dc:creator>
      <dc:date>2014-10-03T15:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-doesn-t-work/m-p/665580#M62168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So how would someone - say - zoom to a parcel when there is a tiled service (aerial photo) in the background?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 15:07:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-doesn-t-work/m-p/665580#M62168</guid>
      <dc:creator>BrentHoskisson</dc:creator>
      <dc:date>2014-10-03T15:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-doesn-t-work/m-p/665581#M62169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With tiled map services, the map will only show at specific scales. The image below show the levels of detail of the &lt;A href="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"&gt;World Topographic Map service&lt;/A&gt;. When you attempt to zoom to an exact shape, the map will almost certain not be able to zoom to that scale. Instead, it has to zoom to the closest available scale. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you were working with dynamic map services instead, you would be able to zoom to an exact shape.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="scales.png" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/17499_scales.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 15:08:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-doesn-t-work/m-p/665581#M62169</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2014-10-03T15:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-doesn-t-work/m-p/665582#M62170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;With tiled map services, the map will only show at specific scales.&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you guys are happy with that?&amp;nbsp; I didn't know I was so spoiled not having to work with the javascript API.&amp;nbsp;&amp;nbsp; How do you reliably zoom to a parcel?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 15:32:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-doesn-t-work/m-p/665582#M62170</guid>
      <dc:creator>BrentHoskisson</dc:creator>
      <dc:date>2014-10-03T15:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-doesn-t-work/m-p/665583#M62171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You add more LODs if the parcel is small and the Tiled Map Service does not zoom in far enough, or you use dynamic map services instead (as we have both mentioned). It is really not a big issue, other APIs like Flex did the same thing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 15:41:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-doesn-t-work/m-p/665583#M62171</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-10-03T15:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-doesn-t-work/m-p/665584#M62172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Before making the switch to JavaScript, I wrote Flex applications. I was used to that behavior and was surprised to see that Silverlight doesn't do it like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For zooming into a specific objects (like a parcel), I include the fit Boolean in the &lt;A href="https://developers.arcgis.com/javascript/jsapi/map-amd.html#setextent"&gt;setExtent&lt;/A&gt; method to make sure the object is completely inside the new extent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14123512930915815" jivemacro_uid="_14123512930915815" modifiedtitle="true"&gt;
&lt;P&gt;map.setExtent(objectExtent, true);&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 15:48:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-doesn-t-work/m-p/665584#M62172</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2014-10-03T15:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-doesn-t-work/m-p/665585#M62173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you don't like this, just wait until you discover that not all of the base maps that ESRI offers let you zoom in the same amount!&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also came from FLEX, so from my perspective, having only specific scales available to you based on tiles is normal.&amp;nbsp; I see it more as a limitation of using a tiled service, not as a restriction of the API itself. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 20:37:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-doesn-t-work/m-p/665585#M62173</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2014-10-03T20:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-doesn-t-work/m-p/665586#M62174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, thanks for your comments, anyway.&amp;nbsp; I suppose I shouldn't be surprised.&amp;nbsp; ESRI has never been known for being consistent across platforms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess it goes to show that you don't complain about things you don't have that you never knew were possible.&amp;nbsp; And you take for granted things that you use everyday that you didn't know were not possible in other places.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't realize four years ago when I was designing layers for my Silverlight app how critical my tiling structure choices should have been. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Oct 2014 11:52:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-doesn-t-work/m-p/665586#M62174</guid>
      <dc:creator>BrentHoskisson</dc:creator>
      <dc:date>2014-10-04T11:52:32Z</dc:date>
    </item>
  </channel>
</rss>

