public static Task<IDisposable> AddOverlayAsync( MapView mapView, Layer layer, long oid, CIMSymbolReference symbol )
Public Overloads Shared Function AddOverlayAsync( _ ByVal mapView As MapView, _ ByVal layer As Layer, _ ByVal oid As Long, _ Optional ByVal symbol As CIMSymbolReference _ ) As Task(Of IDisposable)
Parameters
- mapView
- The view to add the overlay.
- layer
- The layer containing the feature.
- oid
- The ObjectID for the feature.
- symbol
- The symbol to use for the overlay.
Return Value
An object that when disposed will remove the overlay.