public static IDisposable AddOverlay( MapView mapView, Layer layer, long oid, CIMSymbolReference symbol, double referenceScale )
Public Overloads Shared Function AddOverlay( _ ByVal mapView As MapView, _ ByVal layer As Layer, _ ByVal oid As Long, _ Optional ByVal symbol As CIMSymbolReference, _ Optional ByVal referenceScale As Double _ ) As 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.