Layer ID to listen for click events on.
OptionalmultiAllow multiple features to be selected simultaneously.
OptionalonCalled whenever the selection changes.
OptionalonCalled whenever the source-qualified selection changes.
Source ID to set feature state on.
OptionalsourceSource layer (required for vector-tile sources).
OptionalstateFeature-state key to toggle.
Options for createSelectionHandler.