--- 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" ---