new ModifyTouch(options)
Parameters:
Name | Type | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
olx.interaction.ModifyOptions |
Properties
|
Fires:
- event:showpopup
- event:hidepopup
Extends
Methods
-
getModifiedFeatures()
-
Extent the ol/interaction/Modify with a getModifyFeatures Get the features modified by the interaction
- Inherited From:
- Overrides:
- Deprecated:
-
- Yes
Returns:
the modified features
- Type
- Array.<ol.Feature>
-
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