changing TileMapServiceLayer

474
2
Jump to solution
09-27-2012 07:58 AM
HamzaHaroon
Occasional Contributor
I'm trying to change my TileMapServiceLayer in app, but I cant becuase the one i want to change to is on a different projection system. What do i need to do to make the new tiled layer appear on the map? I can initally load each of the two layers using the same spatial reference and envelope, but when i try to switch them , they dont appear.
0 Kudos
1 Solution

Accepted Solutions
NimeshJarecha
Esri Regular Contributor
You cannot simply change the base layer. You should reset the mapView ([self.mapView reset]) and then load new base layer and then load all other layers on top.

Regards,
Nimesh

View solution in original post

0 Kudos
2 Replies
NimeshJarecha
Esri Regular Contributor
You cannot simply change the base layer. You should reset the mapView ([self.mapView reset]) and then load new base layer and then load all other layers on top.

Regards,
Nimesh
0 Kudos
HamzaHaroon
Occasional Contributor
thanks, it worked.
0 Kudos