Hi list,

can DrawFeature be used to draw a box / rectangular geometry?

I tried adding a button to the EditingToolbar/Control:

new OpenLayers.Control.DrawFeature(layer, OpenLayers.Handler.Box,
{'displayClass': 'olControlDrawFeatureBox'})

but when I draw a box in the map I get:

String contains an invalid character"  code: "5
http://test.intranet.rijkswaterstaat.nl/apps/geoservices/mapviewer20/lib/openlayers/OpenLayers.js
Line 554

Best regards,
Bart

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl





_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to