Default Projection

1122
3
Jump to solution
08-15-2014 07:41 AM
jaykapalczynski
Frequent Contributor

Whats the Default projection when creating a map in JavaScript?  WHATS the Code number?

I am working on a piece of code that is exporting a shapefile and it should be coming out with the projection of the map...need to do some testing...

Is it Web Mercator WGS 84 ?  If so whats the number for that?

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Jay,

   I assume you mean what is the WKID. If you are using esri basemaps it would be 102100 or 3857 (thy are basically the same)

View solution in original post

0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus

Jay,

   I assume you mean what is the WKID. If you are using esri basemaps it would be 102100 or 3857 (thy are basically the same)

0 Kudos
RiyasDeen
Occasional Contributor III

The default spatial reference is dictated by the map service used in the map. if you are using any tiled map service then map spatial reference will be that of the tile map service.

If you are using dynamic service it'll be first map service's spatial reference.

Untitled.png

0 Kudos
JonathanUihlein
Esri Regular Contributor

Web Mercator 102100 or Geographic 4326

0 Kudos