<?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 Problem about zoomToScale in AGSMapView in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problem-about-zoomtoscale-in-agsmapview/m-p/226473#M2082</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;BR /&gt;&lt;SPAN&gt;I created a tiled map in ArcGIS Server with first level as 1:160000, second level as 1:80000 and so on. Then I attempted to run the code [mapView zoomToScale:1600000 ....] in iPhone, however, the map view displayed the second level tiled map instead of the first level tiled map. Do you guys encounter the same problem? Does anyone know how to calculate the scale in AGSMapView so as to display the first level tiled map? Thank you very much!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Mar 2013 01:25:29 GMT</pubDate>
    <dc:creator>SteveLeung</dc:creator>
    <dc:date>2013-03-05T01:25:29Z</dc:date>
    <item>
      <title>Problem about zoomToScale in AGSMapView</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problem-about-zoomtoscale-in-agsmapview/m-p/226473#M2082</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;BR /&gt;&lt;SPAN&gt;I created a tiled map in ArcGIS Server with first level as 1:160000, second level as 1:80000 and so on. Then I attempted to run the code [mapView zoomToScale:1600000 ....] in iPhone, however, the map view displayed the second level tiled map instead of the first level tiled map. Do you guys encounter the same problem? Does anyone know how to calculate the scale in AGSMapView so as to display the first level tiled map? Thank you very much!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 01:25:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problem-about-zoomtoscale-in-agsmapview/m-p/226473#M2082</guid>
      <dc:creator>SteveLeung</dc:creator>
      <dc:date>2013-03-05T01:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem about zoomToScale in AGSMapView</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problem-about-zoomtoscale-in-agsmapview/m-p/226474#M2083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The scale is directly proportional to the DPI. The tiled layer you cached at 96 DPI and phone's DPI is different so the SCALE is different too. You should use AGSTiledMapServiceLayer's convertedScaleForLodScale: method to get correct scale on device. Then use zoomToScale and it'll zoom at correct level.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 17:34:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problem-about-zoomtoscale-in-agsmapview/m-p/226474#M2083</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2013-03-28T17:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem about zoomToScale in AGSMapView</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problem-about-zoomtoscale-in-agsmapview/m-p/226475#M2084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I fixed the problem by using your mentioned method. Thanks!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 03:03:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problem-about-zoomtoscale-in-agsmapview/m-p/226475#M2084</guid>
      <dc:creator>SteveLeung</dc:creator>
      <dc:date>2013-04-18T03:03:25Z</dc:date>
    </item>
  </channel>
</rss>

