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);
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.