2

Is it possible to find out whether the user zooms in or out when using a Leaflet zoomstart or zoom event?

map.on('zoomstart ', function() {

    console.log('I am zooming, but am I zooming in or out?');

});

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.