[OpenLayers-Dev] Dragging like a route
Tim Schaub
tschaub at opengeo.org
Wed Oct 13 12:37:00 EDT 2010
On 10/11/10 1:09 AM, 1againstspamm777 at abwesend.de wrote:
> Hi list,
>
> I drag points in my map und connect the points with some lines
> (snapping feature). Ok, that works fine. But now i want to move
> points and lines together with the dragging feature. How can i do
> this? I doenst want to drag points and lines seperatly. It should be
> like a routing plan. I change the starting point and the line change
> the position too.
>
> Any ideas or parts of a solution?
>
I'm not sure I fully understand what you want to do, but make sure you
look at these examples if you haven't already.
Dragging features:
http://openlayers.org/dev/examples/drag-feature.html
Modifying features:
http://openlayers.org/dev/examples/modify-feature.html
Tim
> thanks in advance, againstspam
--
Tim Schaub
OpenGeo - http://opengeo.org
Expert service straight from the developers.
More information about the Dev
mailing list