[OpenLayers-Users] continuing a previously drawn line

Eric Lemoine eric.c2c at gmail.com
Mon Sep 22 00:43:01 EDT 2008


Hi Mark. It seems to me that what you need is Control.ModifyFeature.
See the modify-feature.html example. Eric

2008/9/21, Mark Wright <sparkymeister at gmail.com>:
> Here's what I would like to do. I only want users to be able to draw a
> single line. So once they have drawn a line continuing to draw would
> simply add to that line rather than creating a new line. Here's an
> example of how that would work. The user draws a line and switches to
> navigation mode and moves the map over a bit so that there's more room
> to draw. Then the user returns to draw mode and continues drawing the
> existing line.
>
> I don't see anything in the docs about this and was wondering if
> anybody might have any suggestions.
>
>
> Thanks
> Mark
>
> --
> Have fun or die trying - but try not to actually die.
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



More information about the Users mailing list