loading multiple services

395
1
12-06-2012 09:45 AM
HamzaHaroon
Occasional Contributor
Im trying to load multiple services onto the map in my application, but I can only get one tiled map service to load at a time.

I am creating my layer to add to the map as AGSLayer and initializing it to the type i need, so AGSDynamicMapServiceLayer, AGSTiledMapServiceLayer and other, based on the service given. My services get added to the mapview, but they dont show. how can i add multiple services and keep track of them in an array ?
0 Kudos
1 Reply
NimeshJarecha
Esri Regular Contributor
If you want to load/show multiple tiled layers on map then MAKE SURE that all HAVE SAME SPATIAL REFERENCE.

Regards,
Nimesh
0 Kudos