public static Task<IDisposable> AddOverlayAsync( MapView mapView, Layer layer, long oid, CIMSymbolReference symbol, double referenceScale )
Public Overloads Shared Function AddOverlayAsync( _ ByVal mapView As MapView, _ ByVal layer As Layer, _ ByVal oid As Long, _ ByVal symbol As CIMSymbolReference, _ ByVal referenceScale As Double _ ) 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.
- referenceScale
- Map reference scale or -1
Return Value
An object that when disposed will remove the overlay.