[OpenLayers-Users] Vector edit example = MouseListener
Christopher Schmidt
crschmidt at metacarta.com
Mon Mar 19 20:21:26 EDT 2007
On Mon, Mar 19, 2007 at 05:58:12PM -0500, Jeff Dege wrote:
> The vector layer editing demo:
>
> http://dev.openlayers.org/sandbox/vector/examples/EditingDemo.html
>
> Relied upon OpenLayers.MouseListener. Which isn't in the trunk.
>
> Was this replaced by some other control? I know this whole area is new,
> and we're all just feeling our way around, but what is the recommended
> way to edit features on a vector layer?
http://openlayers.org/dev/examples/editingtoolbar.html is the new
version of this. MouseListener code changed a lot. DrawFeature control
is the new way to create features.
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Users
mailing list