[OpenLayers-Users] Control TYPE_TOOL and trigger event

Armin Burger armin.burger at gmx.net
Mon Mar 15 14:57:15 EDT 2010


Hi all

  I would like to define a control that draws a box. I used as template 
the ZoomBox control. In addition to the zoombox tool I would need to 
launch a function when the tool is activated. Controls  TYPE_BUTTON have 
a trigger method for this. For controls TYPE_TOOL a defined trigger 
method is not executed, however. Does anybody know if there's another 
way to achieve this?

Best regards
Armin



More information about the Users mailing list