Is it possible to create a trigger for multiple events this way?
map.on('click, dragstart, zoomstart', eventHandler);
If not, what would be the next best way to run the same event handler for multiple events?
map.on('click', eventHandler); map.on('dragstart', eventHandler); map.on('zoomstart', eventHandler);
source share