new TouchCursorSelect(options)
Parameters:
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
options |
olx.interaction.InteractionOptions | Options Properties
|
Extends
Methods
-
addOverlay(ov)
-
Add an overlay to the interacton
Parameters:
Name Type Description ovol.Overlay - Inherited From:
- Overrides:
-
getSelection()
-
Get current selection
Returns:
- Type
- ol.Feature | null
-
removeOverlay(ov)
-
Remove an overlay from the interacton
Parameters:
Name Type Description ovol.Overlay - Inherited From:
- Overrides:
-
select(f)
-
Select feature
Parameters:
Name Type Description fol.Feature | undefined a feature to select or select at the cursor position
-
setMap(map)
-
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 map_ol_Map_ Map.
-
setPosition(coord)
-
Set position
Parameters:
Name Type Description coordol.coordinate