Does jVectorMap have built-in methods for binding map scaling and dragging the map with the mouse? I did not find them in the documentation.
I want to do something like this.
var map = $('#world-map').vectorMap(); map.on('zoom', function(){ .. })
Of course, I can bind to the element where the jvectormap was initialized, for example
$('#world-map').on('mousewheel', functon(){ .. })
But it will look like a "quick fix."
Denis source share