Custom google tile layer

2881
1
07-03-2013 11:35 PM
tomsonxu
New Contributor
Attached custom google tile layer codes work fine with Arcgis iOS SDK v2.x. When upgrade to SDK v10.1, compile error: AGSTileOperation and AGSTile not found. It seems that these class/protocol are removed from SDK v10.1. I have read custom tile layer sample at (http://www.arcgis.com/home/item.html?id=faab53d140e44c02941bf7deb30d7d18), but I don't know How to revise attached file to make it work in v10.1. 

Any tips? thanks.
0 Kudos
1 Reply
DavidLednik
Occasional Contributor II

Hi Tomson,

If you're accessing web tiled layer you can use 10.2.3: AGSWebTiledLayer Class Reference

It allows you to pull in tiled layer by providing correct URL template.

In your case that would be:

http://mt{subDomain}.google.cn/vt/v=w2.114&hl=zh-CN&gl=cn&x={col}&y={row}&z={level}&s=

Regards,

David

0 Kudos