[OpenLayers-Users] Toggle EditingToolbar

Eric Lemoine eric.c2c at gmail.com
Sat Nov 15 18:06:31 EST 2008


Hi. You can probably register a featureselected listener on the vector
layer and make that listener activate the navigation control using
toolbar.controls[0].activate(). I haven't tested this myself but I'm
pretty confident it, or something close to it, should work. Eric

2008/11/14, S.Reena <reena at indiamail.com>:
>
> Hi,
>
> I am using default EditingToolbar and I want that as soon as one selects any
> of Point/polygon/line ....the control should go back to navigation ...How to
> do that?
>
> Thanks.
> Reena.
> --
> View this message in context:
> http://www.nabble.com/Toggle-EditingToolbar-tp20497966p20497966.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



More information about the Users mailing list