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);
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.