Constructor.
A reference to the map viewer
The vector source to use for the highlight features
Reference on the map controller
Reference on the map viewer
OptionaloverlayThe hidden layer to display highlight.
OptionalpointChanges the highlight color.
New color
Highlights a feature with a plain overlay.
Pathologically complex geometries (e.g. an ESRI feature whose polygon has thousands of holes) are not highlighted, because re-rendering them every frame freezes the UI. The user is notified once per such feature.
Feature to highlight
Highlights a bounding box.
Extent to highlight
Optional if it is a layer highlight
Initializes the FeatureHighlight with the MapViewer, now that the map is accessible inside the MapViewer.
Removes bounding box highlight
Removes feature highlight(s).
Uid of the feature to deselect, or 'all' to clear all
A class to handle highlighting of features.