<?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: Custom layer in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/custom-layer/m-p/546638#M4673</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your reply and sorry for late reply. Actually, I looked at this sample but don't understand how to use. (Sorry, I totally new to ArcGIS).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In sample, project use row and column but my API using x,y coordinate system.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I try to study ROW and COL system to convert to X,Y (Is this possible?).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And what about tileKey? What is it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any more information would be appreciate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In sample code there is requestTileForKey: delegate method, What this method get called by?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT2:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I know that level, row, column is z, x, y .But how can I get these value?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT3:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In sample code there is XML Parser bundle. Is this needed? Look like app max zoom level is up to AGSLOD, I need to define this lod?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT4:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to inherit from AGSDynamicLayer instead of AGSTiledServiceLayer. Because I have base map and tile I need is not basemap. So, now it's not look like a sample code.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Jun 2013 00:47:13 GMT</pubDate>
    <dc:creator>MajBro</dc:creator>
    <dc:date>2013-06-07T00:47:13Z</dc:date>
    <item>
      <title>Custom layer</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/custom-layer/m-p/546636#M4671</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; I'm developing map iOS app using Arcgis sdk. I googled around with no luck. What I have is tile server which have to call by get method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Host:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="https://servername?api=tile"&gt;https://servername?api=tile&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and parameter like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "x=%@&amp;amp;y=%@&amp;amp;z=%@", x, y, z &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to get tile image. and output of api is rawdata of tile image (NSData) what should I do for using Arcgis.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS. The way I use with MapKit is like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [self.map addOverlay:tileOverlay];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but ArcGIS has no overlay? just only addMapLayer? so I google and found keyword like custom layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I have&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;API URL for get tile.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I need to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Create custom layer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Get x, y, z to send to api for geting tile.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What server return&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;An encrypt image rawdata. So I need to decrypt it before using.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone help me out please.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I found this post &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/60285-How-do-I-create-a-layer-that-is-generated-from-an-image"&gt;http://forums.arcgis.com/threads/60285-How-do-I-create-a-layer-that-is-generated-from-an-image&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;my case just kind of this. But I cannot follow what in this post wrote.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT2:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For more information I found this post &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in this link -&amp;gt; &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/38835-custom-tiled-layer-sample-has-nsgenericexception"&gt;http://forums.arcgis.com/threads/38835-custom-tiled-layer-sample-has-nsgenericexception&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks Nimesh,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AGS api version 2.0,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ios 4.3&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;images from web:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;NSString* dir = [_allLayersPath stringByAppendingFormat:@"/%@/%@/%@.png",decLevel,hexRow,hexCol];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;//NSLog(dir);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_tile.image = [UIImage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:dir]]];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it works well until the exception happen. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just want sth. like this, ARCGIS 10.1 is still allow sth. like this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 03:46:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/custom-layer/m-p/546636#M4671</guid>
      <dc:creator>MajBro</dc:creator>
      <dc:date>2013-06-05T03:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Custom layer</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/custom-layer/m-p/546637#M4672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You're on the right track - you need to create a custom layer to display your maps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You have 2 choices - you can create a custom dynamic layer (if the image your server provides covers the map's entire viewable extent) or you can create a custom tiled layer (if the image your server provides covers only a portion of the viewable extent, and you need to potentially request multiple tiles for a given extent).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Refer to &lt;/SPAN&gt;&lt;A href="http://developers.arcgis.com/en/ios/api-reference/category_a_g_s_layer_07_for_subclass_eyes_only_08.html"&gt;http://developers.arcgis.com/en/ios/api-reference/category_a_g_s_layer_07_for_subclass_eyes_only_08.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;for more information on how to create custom layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can also refer to thee sample showing how to create a custom tiled layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=faab53d140e44c02941bf7deb30d7d18"&gt;http://www.arcgis.com/home/item.html?id=faab53d140e44c02941bf7deb30d7d18&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 16:39:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/custom-layer/m-p/546637#M4672</guid>
      <dc:creator>DiveshGoyal</dc:creator>
      <dc:date>2013-06-06T16:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: Custom layer</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/custom-layer/m-p/546638#M4673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your reply and sorry for late reply. Actually, I looked at this sample but don't understand how to use. (Sorry, I totally new to ArcGIS).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In sample, project use row and column but my API using x,y coordinate system.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I try to study ROW and COL system to convert to X,Y (Is this possible?).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And what about tileKey? What is it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any more information would be appreciate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In sample code there is requestTileForKey: delegate method, What this method get called by?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT2:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I know that level, row, column is z, x, y .But how can I get these value?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT3:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In sample code there is XML Parser bundle. Is this needed? Look like app max zoom level is up to AGSLOD, I need to define this lod?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT4:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to inherit from AGSDynamicLayer instead of AGSTiledServiceLayer. Because I have base map and tile I need is not basemap. So, now it's not look like a sample code.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2013 00:47:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/custom-layer/m-p/546638#M4673</guid>
      <dc:creator>MajBro</dc:creator>
      <dc:date>2013-06-07T00:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Custom layer</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/custom-layer/m-p/546639#M4674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK, I get your idea. Please give me some custom dynamic layer example for ArcGIS API v10.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.arcgis.com/home/item.html...1bf7deb30d7d18"&gt;http://www.arcgis.com/home/item.html...1bf7deb30d7d18&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;This example is implement from AGSTiledServiceLayer,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need example in AGSDynamicLayer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 00:05:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/custom-layer/m-p/546639#M4674</guid>
      <dc:creator>MajBro</dc:creator>
      <dc:date>2013-06-10T00:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Custom layer</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/custom-layer/m-p/546640#M4675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I asked quest a week ago. Please response.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 07:21:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/custom-layer/m-p/546640#M4675</guid>
      <dc:creator>MajBro</dc:creator>
      <dc:date>2013-06-17T07:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Custom layer</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/custom-layer/m-p/546641#M4676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can subclass AGSDynamicLayer to create a custom dynamic layer. Look at &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/en/ios/api-reference/category_a_g_s_dynamic_layer_07_for_subclass_eyes_only_08.html"&gt;AGSDynamicLayer(ForSubclassEyesOnly) &lt;/A&gt;&lt;SPAN&gt;.&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>Wed, 19 Jun 2013 20:31:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/custom-layer/m-p/546641#M4676</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2013-06-19T20:31:17Z</dc:date>
    </item>
  </channel>
</rss>

