Select to view content in your preferred language

wrapAround doesn't work with tiled service in iOS, works in other API's

2907
11
05-17-2012 11:57 AM
LukePhilips
Deactivated User
Hey,
I've got a tiled map service that is Web Mercator (WKID 102100), I have no problem using it in the other client API's (e.g. JavaScript) with wrapAround however when I add it to a iOS mapView the wrap around no longer works. any recommended means of debugging this?

Thanks
0 Kudos
11 Replies
LukePhilips
Deactivated User
See attached, I've removed the layers in the arrays to make this more reasonable.
0 Kudos
NimeshJarecha
Esri Regular Contributor
Thanks for the file. You can see that the full extent of your tiled layer is...

Full Extent:
XMin: -20036554.6687116
YMin: -30240971.9583863
XMax: 20037164.0316042
YMax: 30240971.9583862
Spatial Reference: 102100 (3857)


The full extent of the ESRI web mercator map is...

Full Extent:
XMin: -20037507.0671618
YMin: -19971868.8804086
XMax: 20037507.0671618
YMax: 19971868.8804086
Spatial Reference: 102100 (3857)


This is the reason why wrap around is not working for your layer. Please correct that and it should work!

Regards,
Nimesh
0 Kudos