On Mon, Oct 15, 2007 at 02:28:49PM +0200, Bart van den Eijnden (OSGIS) wrote:
> 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'})

The box handler is not a vector feature handler. Point, Path, Poly,
RegularPoly are the only vector feature handlers. 

Regards,
-- 
Christopher Schmidt
MetaCarta
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to