[OpenLayers-Users] Callbacks on DrawFeature and Polygon

Dipl. Inf. Carsten Eider eider at fh-bingen.de
Thu Jun 12 07:50:35 EDT 2008


Hi Folks,

I tried to setup a callback when drawing a new polygon is finished, but

polygon: new OpenLayers.Control.DrawFeature(bridge.fieldLayer,
                            
OpenLayers.Handler.Polygon,{done:newFieldEnd,point:newFieldEnd})

doesn't work, where as

 modify: new 
OpenLayers.Control.ModifyFeature(bridge.fieldLayer,{onModificationEnd:newFieldEnd})

works great.
Any suggestions?

Thx Carsten

-- 
Mit freundlichen Grüßen / Yours faithfully
Carsten Eider

Dipl. Inf. (FH)

Kompetenzzentrum für Innovative Informationssysteme

c/o Fachhochschhule Bingen / University of applied sciences Bingen

Berlinstraße 109
55411 Bingen

Tel: +49 (0) 6721 / 409-179
Fax: +49 (0) 6721 / 409-158
email: eider at fh-bingen.de
Internet: iis.fh-bingen.de 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: eider.vcf
Type: text/x-vcard
Size: 330 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/openlayers-users/attachments/20080612/ba6eb021/eider.vcf


More information about the Users mailing list