var basemap = new esri.layers.ArcGISTiledMapServiceLayer("http://yourServerLink/MapServer", { useMapImage: true, "id": "Basemap" }); map.addLayer(basemap);
Hi,You can do this var basemap = new esri.layers.ArcGISTiledMapServiceLayer("http://yourServerLink/MapServer", { useMapImage: true, "id": "Basemap" }); map.addLayer(basemap); dont use basemap property in map variable.
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.