hharoon

loading multiple services

Discussion created by hharoon on Dec 6, 2012
Latest reply on Dec 28, 2012 by njarecha-esristaff
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 ?

Outcomes