[OpenLayers-Users] DrawFeature: box supported?
Bart van den Eijnden (OSGIS)
bartvde at osgis.nl
Mon Oct 15 09:15:01 EDT 2007
Hi Chris,
would this require making changes to the existing Box Handler, or write a
complete new Handler specific for the Box feature handler?
Best regards,
Bart
--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl
--------- Oorspronkelijk bericht --------
Van: Christopher Schmidt <crschmidt at metacarta.com>
Naar: Bart van den Eijnden OSGIS <bartvde at osgis.nl>
Cc: users at openlayers.org
Onderwerp: Re: [OpenLayers-Users] DrawFeature: box supported?
Datum: 15/10/07 10:47
> 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
>
>
More information about the Users
mailing list