Questions tagged [modify-interaction]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
472 views

Remove vertex from geometry (polygon) in OpenLayers 5?

I could able to remove the recent modified vertex of a feature using removePoint method of modify interaction, as well as using deleteCondition event of modify interaction. However, that is not what I ...
1
vote
2answers
617 views

OpenLayers 4 moving polygon like a circle with Modify interaction

In example http://openlayers.org/en/latest/examples/draw-and-modify-features.html when you hover on the center of the circle appears a point and you can move circle. Is it possible to do the same for ...
0
votes
1answer
86 views

OpenLayers show interaction style without hovering

I have been making a simple Modify interaction in OpenLayers, for example var dragInteraction = new ol.interaction.Modify({ features: new ol.Collection([feature]), style: dragStyle }); Can I ...
0
votes
0answers
125 views

In OpenLayers how can I enable a user to change a point into a line

Using ol3 I can use ol.interaction.Modify to enable users to move points, and add, move and delete vertices of lines and polygons. Is it possible to enable users to change a point into a line (or a ...
1
vote
0answers
56 views

How can I finish my incomplete GPX tracks?

I have some incomplete GPS recordings. For whatever reason, the tracks weren't recorded , so there are some gaps in it. I could easily use the satellite images using QGIS software. So I would like ...
3
votes
1answer
1k views

OpenLayers 4 Modify - There is an option to show the feature vertexes as point always?(not hover)

Using the modify interaction - the default behaviour is to show existing vertex as point when hover it. (When the mouse is hovered over the left bottom vertex - the vertex is shown) Is there an ...
3
votes
0answers
659 views

Modify features not updating on vector layer

I have point vector layer in my application.Now I am trying to modify its coordinates. I am able to do it but its not reflecting on layer. Here is code I am using : var selectInt = new ol.interaction....
4
votes
1answer
11k views

Update a feature's coordinates/geometry

Can anyone possibly give me an example of how the Openlayers 3 'setGeometry' method can be used on an ol.Point feature please? I have a feature which has been created from data retrieved from a ...
1
vote
0answers
263 views

Multi-select / modify event Openlayers 3

I'm trying to incorporate a modify feature where the user will move a point and any underlying geometry is also modified. Currently to draw a route on a map I'm taking points from a database and ...
0
votes
1answer
569 views

OpenLayers 3 modify interaction and featureover

What is the best way to add a 'featureover' event on top of an ol.interaction.Modify ? At the map or layer level, this event is masked by the interaction. The 'modifystart' event is fired when the ...
0
votes
2answers
2k views

How to define feature modify event in openlayers 3?

I'm using OpenLayers-3.8.2. I have modify interaction as follows: selectedInteraction = ... modifyInteraction = new ol.interaction.Modify({ features: selectInteraction.getFeatures() }); I want ...