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);
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.