--- layout: example.html title: Custom Interactions shortdesc: Example of a custom interaction. docs: > This example demonstrates creating a custom interaction by subclassing `ol/interaction/Pointer`. Note that the built in interaction `ol/interaction/Translate` might be a better option for moving features. tags: "drag, feature, vector, editing, custom, interaction" cloak: - key: pk.eyJ1IjoiYWhvY2V2YXIiLCJhIjoiY2pzbmg0Nmk5MGF5NzQzbzRnbDNoeHJrbiJ9.7_-_gL8ur7ZtEiNwRfCy7Q value: Your Mapbox access token from https://mapbox.com/ here ---