var tiledMapServiceLayer = new esri.layers.ArcGISTiledMapServiceLayer(routeMap); var num_levels = tiledMapServiceLayer.tileInfo.lods.length;
basemap = new esri.layers.ArcGISTiledMapServiceLayer("http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"); dojo.connect(map,'onLoad',function(){ console.log(basemap.tileInfo.lods.length); }) map.addLayer(basemap);
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.