add layer satellite map.

4036
5
04-18-2015 10:05 AM
lasinh
by
New Contributor III

How to add layer satellite in to my Map! thank you!!

0 Kudos
5 Replies
YousefQuran
Occasional Contributor
map = new Map("map", {
        basemap: "satellite",
        center: [-105.255, 40.022],
        zoom: 13
      });
OwenEarley
Occasional Contributor III

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).

0 Kudos
lasinh
by
New Contributor III

i have my  basemap, i want add layer satellite above the basemap

0 Kudos
OwenEarley
Occasional Contributor III

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.

0 Kudos
YousefQuran
Occasional Contributor
    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!

0 Kudos