Hi devs,
Controls have a "handler" property, but no "handlers". By default, in
Controls.js, on activation, it checks this.handler and activate it.
Which of these solutions is the best when you have multiple handlers
for a new custom control :
- register an on.("activate", function(){}) to activate its handlers
- create a new activate function for the customized control that
handles the handlers property
- modify Controls.js, add a handlers property and modify the activate
function to also check if handlers exist and activate all its handlers.
The same goes for deactivation.
Any tips ?
--
Alexandre Dubé
Mapgears
www.mapgears.com
_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev