Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

leaflet control zoom on scrolling page

// Leaflet Maps
var contactmap = L.map('contact-map', {
        center: [41.3947688, 2.0787279], 
        zoom: 15,
        scrollWheelZoom: false
    });
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #leaflet #control #zoom #scrolling #page
ADD COMMENT
Topic
Name
7+7 =