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);
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.