Show different kinds of multilayer symbols on a map similar to some pre-defined 2D simple symbol styles.
Allows you to customize a graphic with a multilayer symbol. For example, you may want more customizable symbols than the one that is provided with the API to display a unique representation of a landmark.
The sample loads multilayer symbols for points, polylines, and polygons.
- Create multilayer symbols for each predefined 2D simple symbol style.
- For multilayer point symbols, use the
MultilayerPoint
constructor. - For multilayer polyline symbols, use the
MultiLayerPolyline
constructor. - For multilayer polygon symbols, use the
MultiLayerPolygon
constructor.
- For multilayer point symbols, use the
- Create graphics by passing in a geometry and the associated symbol.
- Add graphics to the graphics overlay with
graphicsOverlay.Graphics.Add(graphic)
- Graphic
- GraphicsOverlay
- MultiLayerPoint
- MultiLayerPolygon
- MultiLayerPolyline
- PictureMarkerSymbolLayer
- SolidFillSymbolLayer
- SolidStrokeSymbolLayer
- VectorMarkerSymbolLayer
graphic, marker, multilayer, picture, symbol