Configure this feature overlay with a feature collection. Features added
to the collection are also added to the overlay. Same for removal. If you
configure the feature overlay with a feature collection you will use the
collection to add and remove features instead of using the overlay's
addFeature
, removeFeature
and clear
functions.
Feature collection.
Provides a featureOverlay used by the FeatureOverlayManager.
Example of initialization: const featureOverlay = new FeatureOverlay(manager, index);
Param: manager
The feature overlay manager.
Param: index
This feature overlay's index.