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.
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.