Back to Openlayers

Modify Icon

examples/modify-icon.html

10.9.0437 B
Original Source

--- layout: example.html title: Icon modification shortdesc: Example using a Modify interaction to edit an icon. docs: > The icon on this map can be dragged to modify its location.

The Modify interaction can be configured with a hitDetection option. With this option, the modification candidate will not be determined by the pixelTolerance, but match the visual appearance of the geometry.

tags: "vector, modify, icon, marker" ---