double lat = message.Latitude; double lon = message.Longitude; MapPoint mp = new MapPoint(lon, lat, new SpatialReference(4326)); _pointLayer.Graphics.Clear(); Graphic graphic = new Graphic() { Geometry = mp, Symbol = new SimpleMarkerSymbol() { Color = new SolidColorBrush(Colors.Blue), Size = 10 } }; _pointLayer.Graphics.Add(graphic);
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.