I have 2 ArcGISTiledMapServiceLayer services and cached with different scales. a ArcGISTiledMapServiceLayer services cached with scales(1000000, 500000, 200000, 100000, 50000, 20000, 10000). other ArcGISTiledMapServiceLayer cached(12500000, 2000000, 1000000). how to change myMap when change ArcGISTiledMapServiceLayer services
Solved! Go to Solution.
here is the example from esri :
https://developers.arcgis.com/javascript/jssamples/map_switch_layer_on_zoom.html
hope this helps
Amri
here is the example from esri :
https://developers.arcgis.com/javascript/jssamples/map_switch_layer_on_zoom.html
hope this helps
Amri
no, when change service map , change scalebar of map?
what if get the extent based on map service, esri/graphicsUtils | API Reference | ArcGIS API for JavaScript
after that, zoom the map to the updated mapservice using map.setExtent