Hi,
I'm having a problem converting my coordinates in the Finnish KKJ2 coordinate system (i.e. Finland_Zone_2, wkid 2392) to webmercator in order to plot points on my map.
I am trying to do this with the code
No matter what spatial reference I put in the code, it appears that arcgis assumes the coordinates are given in WGS84. It does not matter what wkid i put in my code, my points end up on the exact same location on the map regardless of the wkid.
Where should I start looking for a solution?
BR
-Christian
I'm having a problem converting my coordinates in the Finnish KKJ2 coordinate system (i.e. Finland_Zone_2, wkid 2392) to webmercator in order to plot points on my map.
I am trying to do this with the code
esri.geometry.geographicToWebMercator(new esri.geometry.Point(east, north, new esri.SpatialReference(2392))),
No matter what spatial reference I put in the code, it appears that arcgis assumes the coordinates are given in WGS84. It does not matter what wkid i put in my code, my points end up on the exact same location on the map regardless of the wkid.
Where should I start looking for a solution?
BR
-Christian
http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/util_project.html