Select to view content in your preferred language

spatial reference

612
1
09-26-2011 01:37 PM
SamerToukan
Emerging Contributor
Hello, I'm trying to plot a single point using Latitude/Longitude with the following ActionScript:

var myGraphicMarker:Graphic = new Graphic(new MapPoint(-129.000, 50.1000, new SpatialReference(102754)));
   myGraphicMarker.toolTip = "Marker";
   myGraphicsLayer.add(myGraphicMarker);



When I run this, it plots it out to the center of the map. What is the spatial reference for latitude/longitude?

cheers,
Tags (2)
0 Kudos
1 Reply
KenBuja
MVP Esteemed Contributor
Take a look at here for the geographic coordinate system codes and here for the projected coordinate system codes
0 Kudos