How to add layer satellite in to my Map! thank you!!
url:"http://services.arcgisonline.com/arcgis/rest/services/ESRI_Imagery_World_2D/MapServer/0"
Add this Feature Layer to the map, but I do not know if it will works fine or not ... 'How to add Satellite above your basemap?', anyways try it!
The map object only supports displaying a single basemap layer at any time so you would need to add a layer to your map. To do this just use one of these:
Replace the URL with the endpoint of your satellite imagery source.
i have my basemap, i want add layer satellite above the basemap
See this sample - Create a map | ArcGIS API for JavaScript
As Yusuf Ali has already mentioned use the "satellite" basemap when creating the map (instead of the topo one that is used in the sample).
map = new Map("map", { basemap: "satellite", center: [-105.255, 40.022], zoom: 13 });
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.