Show a simple marker symbol on a map.
Customize the appearance of a point suitable for the data. For example, a point on the map styled with a circle could represent a drilled borehole location, whereas a cross could represent the location of an old coal mine shaft.
The sample loads with a predefined simple marker symbol, set as a red circle.
- Create a
SimpleMarkerSymbol(SimpleMarkerSymbol.Style, color, size)
. - Create a
Graphic
passing in aPoint
and the simple marker symbol as parameters. - Add the graphic to the graphics overlay with
graphicsOverlay.Graphics.Add(graphic)
.
- Graphic
- GraphicsOverlay
- Point
- SimpleMarkerSymbol
SimpleMarkerSymbol, symbol