new ModifyTouch(options)
Modify interaction with a popup to delet a point on touch device
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
olx.interaction.ModifyOptions |
Properties
|
Fires:
- event:showpopup
- event:hidepopup
Extends
- ol.interaction.Modify
Methods
-
getPopupContent()
-
Get the popup content
Returns:
- Type
- DOMElement
-
removePoint()
-
Remove the current point
-
setActive(b)
-
Activate the interaction and remove popup
Parameters:
Name Type Description b
Boolean -
setMap(map)
-
Remove the interaction from its current map, if any, and attach it to a new map, if any. Pass
null
to just remove the interaction from the current map.Parameters:
Name Type Description map
ol.Map Map.
-
setPopupContent(html)
-
Change the popup content
Parameters:
Name Type Description html
DOMElement -
showDeleteBt(e)
-
Show the delete button (menu)
Parameters:
Name Type Description e
Event