[OpenLayers-Users] drawFeature control needs two clicks...?

Alexandre Dube adube at mapgears.com
Thu Apr 15 13:04:50 EDT 2010


Chris,

Chris Green wrote:
>
> I have a situation that I can’t get to the bottom of, and I’m 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