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
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
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.