AnsweredAssumed Answered

How do you convert from lat,long to a map point?

Question asked by zetar on Oct 12, 2012
Latest reply on Jun 11, 2013 by zetar
I have the lat, long and I wish to output it on the map using this:

            Graphic g = new Graphic();
            g.Geometry = new MapPoint(x, y);
            SimpleMarkerSymbol marker = new SimpleMarkerSymbol();
            marker.Color = new System.Windows.Media.SolidColorBrush(Colors.Red);
            marker.Style = SimpleMarkerSymbol.SimpleMarkerStyle.Circle;
            marker.Size = 10;
            g.Symbol = marker;
            graphicsLayer.Graphics.Add(g);
            pointGraphics.Add(g);


How do I convert the lat,long to the x,y of the MapPoint?

Outcomes