OpenLayers – Moving Polygon Like a Circle with Modify Interaction in OpenLayers 4

modify-interactionopenlayers

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 the polygon?

Best Answer

I'm not sure of your expectations from your description. As a circle has a center to draw it, it differs from getting a center in a polygon to drag it.

From my viewpoint, you should look at this other official demo to translate/move features like polygons.

Related Question