[OpenLayers-Users] Modify feature Before insert from DrawFeature Control
Bart van den Eijnden
bartvde at opengeo.org
Wed Sep 19 05:40:17 PDT 2012
How about using the beforefeatureadded event of OpenLayers.Layer.Vector?
Best regards,
Bart
--
Bart van den Eijnden
OpenGeo - http://opengeo.org
Expert service straight from the developers.
On Sep 19, 2012, at 2:37 PM, Mark Paxton <mark at innaxys.com> wrote:
> Hello,
>
> Please may I ask some advice on the following:
>
> I would like to set properties on a feature when inserted from a
> DrawFeature control. At the moment I use the 'featureAdded' event on
> Control.DrawFeature, however the 'beforeFeatureAdded' event should be
> what I need as I am setting properties for the style, etc. How can I
> achieve this without havingt o create a new layer?
>
> Thanks
> Mark
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120919/23057608/attachment-0001.html>
More information about the Users
mailing list