[OpenLayers-Users] drawFeature control needs two clicks...?
Chris Green
chris.green at ibstv.co.uk
Thu Apr 15 14:22:20 EDT 2010
Hi Alex
Thanks for the suggestion, it works!
But....I can't see how to change the radius of the point that is drawn - is
it possible?
Chris
-----Original Message-----
From: Alexandre Dube [mailto:adube at mapgears.com]
Sent: 15 April 2010 18:05
To: chris.green at ibstv.co.uk
Cc: users at openlayers.org
Subject: Re: [OpenLayers-Users] drawFeature control needs two clicks...?
Chris,
Chris Green wrote:
>
> I have a situation that I cant get to the bottom of, and Im hoping
> that someone can help me understand it.
>
> circle1 = new OpenLayers.Control.DrawFeature(circle1Layer,
> OpenLayers.Handler.RegularPolygon, {handlerOptions: circle1Options});
>
Use OpenLayers.Handler.Point instead of
OpenLayers.Handler.RegularPolygon to draw points on single click.
Regards,
--
Alexandre Dubé
Mapgears
www.mapgears.com
More information about the Users
mailing list