Select to view content in your preferred language

Basemap Question about Names? basemap: ?

1412
7
Jump to solution
09-13-2013 05:18 AM
JamesCucinelli
Deactivated User
Question # 1
I'm using the unique value rendered sample and it has basemap: "streets",

https://developers.arcgis.com/en/javascript/jssamples/renderer_unique_value.html

If I want to change the name of the basemap, where is the documentation that tells me which each of these basemaps is called?

http://resources.arcgis.com/en/help/arcgis-rest-api/#/Static_maps/02r3000001mt000000/

Question # 2
Can I change the projection?

Thank you in advance,
James Cucinelli
0 Kudos
1 Solution

Accepted Solutions
KenBuja
MVP Esteemed Contributor
The standard Esri basemaps are  "streets" , "satellite" , "hybrid", "topo", "gray", "oceans", "national-geographic", "osm". This is listed in the Map constructor basemap option.

From the BaseMap Gallery help

All basemaps added to the gallery need to have the same spatial reference.   If the default ArcGIS.com basemaps are used then all additional items added   to the gallery need to be in Web Mercator (wkids: 102100, 102113 and 3857).   If the default basemaps are not used you can add basemaps in any spatial   reference as long as all the items added to the gallery share that spatial   reference. To achieve the best performance, it is recommended that all   basemaps added to the gallery are cached (tiled) layers.

View solution in original post

0 Kudos
7 Replies
KenBuja
MVP Esteemed Contributor
The standard Esri basemaps are  "streets" , "satellite" , "hybrid", "topo", "gray", "oceans", "national-geographic", "osm". This is listed in the Map constructor basemap option.

From the BaseMap Gallery help

All basemaps added to the gallery need to have the same spatial reference.   If the default ArcGIS.com basemaps are used then all additional items added   to the gallery need to be in Web Mercator (wkids: 102100, 102113 and 3857).   If the default basemaps are not used you can add basemaps in any spatial   reference as long as all the items added to the gallery share that spatial   reference. To achieve the best performance, it is recommended that all   basemaps added to the gallery are cached (tiled) layers.
0 Kudos
JamesCucinelli
Deactivated User
Ken,

Thank you so much!

I swear I searched the reference and it didn't come up.

And I must not have looked in this part of the constructor.

Thanks.
James
0 Kudos
KenBuja
MVP Esteemed Contributor
Glad to help. Don't forget to mark the question as answered to help others in the future.
0 Kudos
JamesCucinelli
Deactivated User
I have never done that. Where is the green check mark?
0 Kudos
KenBuja
MVP Esteemed Contributor
The check mark (and up arrow) should show up on the right side of the messages

[ATTACH=CONFIG]27509[/ATTACH]
0 Kudos
JamesCucinelli
Deactivated User
got it thanks. I never knew what that was.
0 Kudos
KenBuja
MVP Esteemed Contributor
For more information about the check boxes and arrows, take a look at this page.
0 Kudos