Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[JavaScript] Disable Scroll Zoom in Google Maps
var map = new google.maps.Map( document.getElementById( 'map-canvas' ), {
zoom: 7,
center: new google.maps.LatLng( originalLocation[0], originalLocation[1] ),
scrollwheel: false
});
@sadiksheikh7

This comment has been minimized.

Copy link

@sadiksheikh7 sadiksheikh7 commented May 2, 2017

pls upload with html code

@maikelgonzalez

This comment has been minimized.

Copy link

@maikelgonzalez maikelgonzalez commented Jun 22, 2017

Thanks for share this solution :=)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment