interface JMapSelectionParams {
    keepCurrentSelection?: boolean;
    toggleSelection?: boolean;
}

Properties

keepCurrentSelection?: boolean

false by default. If new selection doesn't select a feature that is already selected, if true will let the feature selected, else will deselect it.

toggleSelection?: boolean

true by default. If new selection select a feature that is already selected, if parameter is true it will deselect the feature, else will let the feature selected.