[OpenLayers-Dev] Start drawing polygon on map with single click, ignore drag & dblclick

Andy Deakin andy.deakin at pcmend.net
Wed Jun 10 18:38:52 EDT 2009

Hi list

I'm drawing a polygon on a map, but want drag events to move the map, 
double click to zoom in, and a single click to start drawing the polygon.

I have tried a number of methods, but the click propagation and 
single/double click events make it difficult.

Is there a handler that does anything like this, or are there any 
suggestions on how it can be done?

Cheers, Andy

More information about the Dev mailing list