--- 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.eyJ1IjoiYWhvY2V2YXIiLCJhIjoiY2t0cGdwMHVnMGdlbzMxbDhwazBic2xrNSJ9.WbcTL9uj8JPAsnT9mgb7oQ value: Your Mapbox access token from https://mapbox.com/ here ---