Parameters
- 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.
Target Platforms: Windows 11, Windows 10