new Select
Parameters:
| Name | Type | Argument | Description | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
olx.interaction.SelectOptions |
<optional> |
Options. Properties
|
- Source:
- selectinteraction.js, line 23
Extends
- ol.interaction.Interaction
Methods
-
getFeatures
Stability: experimental -
- Source:
- selectinteraction.js, line 105
Returns:
Features collection.
- Type
- ol.Collection
-
setMap
Stability: experimental -
Remove the interaction from its current map, if any, and attach it to a new map, if any. Pass
nullto just remove the interaction from the current map.Parameters:
Name Type Description mapol.Map Map.
- Source:
- selectinteraction.js, line 178
OpenLayers 3