<?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: Tiled map servics - How does it work ? in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/tiled-map-servics-how-does-it-work/m-p/722389#M6470</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hello again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;after many hours wasted�?�&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I Have defined tiles like below&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* level = 3; scale = 1000000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* level = 4; scale = 500000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* level = 5; scale = 250000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* level = 6; scale = 100000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tested the same app on iPhone and on iPad requests which are generating when map scale is changing, and results are very strange:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;a) iphone&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;tiles for level 4 were requesting when scale was&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from: 1273437 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to: 636719&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;tiles for level 5 were requesting when scale was&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from:&amp;nbsp; 636718&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to:&amp;nbsp; 297136&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;tiles for level 6 were requesting when scale was&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from: 297135 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to: not checked&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;b) ipad/ iPhone sim on ipad&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;tiles for level 4 were requesting when scale was&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from: 1031250 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to: 515626&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;tiles for level 5 were requesting when scale was&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from: 515625&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to: 240626 &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;tiles for level 6 were requesting when scale was&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from: 240625 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to: not checked&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is it possible, that there are any parameter in map control or tile layer (or somewhere else)&amp;nbsp; which default value is incorrect and must be set to correct one? or is this just bug ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;best regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrzej&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Oct 2012 08:28:45 GMT</pubDate>
    <dc:creator>AndrzejGórski</dc:creator>
    <dc:date>2012-10-25T08:28:45Z</dc:date>
    <item>
      <title>Tiled map servics - How does it work ?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/tiled-map-servics-how-does-it-work/m-p/722388#M6469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tile map service with some tiles defined like below (part):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;level = 4; scale = 500000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;level = 5; scale = 250000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;level = 6; scale = 100000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I am zooming near scale 250000 or exactly zoom to scale 250000 i see that map requests for tile 6 !! with is defined for scale 100000. I checked with other scales and tile's level is always one more than I would expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After some tests I noticed that on iPads (no matter which version) inluding simulator requesting tile level is 5 - and that is ok. But on all iPhones (except iphone5 - didn't test) including simulator requesting level is still 6. There must be some error in SDK. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It can be easily verified even on sample attached to installation package of SDK for iOS. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know why is it happen ? Any ideas ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;best regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrzej&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 05:16:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/tiled-map-servics-how-does-it-work/m-p/722388#M6469</guid>
      <dc:creator>AndrzejGórski</dc:creator>
      <dc:date>2012-10-24T05:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Tiled map servics - How does it work ?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/tiled-map-servics-how-does-it-work/m-p/722389#M6470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hello again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;after many hours wasted�?�&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I Have defined tiles like below&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* level = 3; scale = 1000000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* level = 4; scale = 500000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* level = 5; scale = 250000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* level = 6; scale = 100000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tested the same app on iPhone and on iPad requests which are generating when map scale is changing, and results are very strange:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;a) iphone&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;tiles for level 4 were requesting when scale was&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from: 1273437 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to: 636719&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;tiles for level 5 were requesting when scale was&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from:&amp;nbsp; 636718&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to:&amp;nbsp; 297136&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;tiles for level 6 were requesting when scale was&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from: 297135 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to: not checked&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;b) ipad/ iPhone sim on ipad&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;tiles for level 4 were requesting when scale was&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from: 1031250 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to: 515626&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;tiles for level 5 were requesting when scale was&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from: 515625&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to: 240626 &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;tiles for level 6 were requesting when scale was&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from: 240625 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to: not checked&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is it possible, that there are any parameter in map control or tile layer (or somewhere else)&amp;nbsp; which default value is incorrect and must be set to correct one? or is this just bug ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;best regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrzej&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 08:28:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/tiled-map-servics-how-does-it-work/m-p/722389#M6470</guid>
      <dc:creator>AndrzejGórski</dc:creator>
      <dc:date>2012-10-25T08:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Tiled map servics - How does it work ?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/tiled-map-servics-how-does-it-work/m-p/722390#M6471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you measuring map scale from self.mapView.mapScale property? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The map scale is different on the device then what you've set in the tiled map service. It is directly proportionate to the dpi/ppi. Your tiled map service scale are calculated at 96 dpi but your iPhone and iPad dpi/ppi are 163 (non-ratina) and 132 (non-ratina) respectively. So the map scale on iPhone and iPad are "scale on level * 163/96" and "scale on level * 132/96" respectively.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you set layer's renderNativeResolution property to YES then it's going to be "scale on level * 326/96" and "scale on level * 264/96".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So the request are being sent accordingly.&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>Mon, 29 Oct 2012 22:32:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/tiled-map-servics-how-does-it-work/m-p/722390#M6471</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2012-10-29T22:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Tiled map servics - How does it work ?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/tiled-map-servics-how-does-it-work/m-p/722391#M6472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Nimesh,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Few days ago I discovered relationship between scale (mapView.mapScale) and&amp;nbsp; service/device resolution ratio !! But I wasn't sure if I was wrong or right. So Your answer is great confirmation of my thoughts and work. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again and best regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrzej&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2012 05:10:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/tiled-map-servics-how-does-it-work/m-p/722391#M6472</guid>
      <dc:creator>AndrzejGórski</dc:creator>
      <dc:date>2012-10-30T05:10:26Z</dc:date>
    </item>
  </channel>
</rss>

