ArcGIS tile layer

52 views
Skip to first unread message

Mike

unread,
Nov 20, 2012, 12:45:02 PM11/20/12
to route-...@googlegroups.com
I am trying to get the following map to work with route-me.

It's put out by esri, and there seems to be some kind of math required inorder to get the tiles lined up properly. Does anyone know what calculations I need to perform on the zoom, x, y. 

Mike

unread,
Nov 20, 2012, 1:55:16 PM11/20/12
to route-...@googlegroups.com
NVM looks like the x and y just had to be flipped. 

        return [NSURL URLWithString:[NSString stringWithFormat:@"http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/", tile.zoom, tile.y, tile.x]];

was all I needed. 
Reply all
Reply to author
Forward
0 new messages