From 66524a80750a12b85c33be2f6d3e5a028716f29e Mon Sep 17 00:00:00 2001 From: Alvin Lindstam Date: Fri, 28 Aug 2015 22:13:49 +0200 Subject: [PATCH] Clarify drag interaction example to inform about ol.interaction.Translate --- examples/drag-features.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/examples/drag-features.html b/examples/drag-features.html index c42ed33ed7..9352f6f92e 100644 --- a/examples/drag-features.html +++ b/examples/drag-features.html @@ -1,10 +1,11 @@ --- template: example.html -title: Drag features example -shortdesc: Example of a drag features interaction. +title: Custom interaction example +shortdesc: Example of a custom drag features interaction. docs: > - The drag features interaction can be used to drag features to a new position. -tags: "drag, feature, vector, editing" + This example demonstrates using a custom interaction with OpenLayers, 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" ---