Skip to content

Instantly share code, notes, and snippets.

@tommcfarlin
Created May 12, 2015 12:07
Show Gist options
  • Save tommcfarlin/7ebe09854f3d642cbc89 to your computer and use it in GitHub Desktop.
Save tommcfarlin/7ebe09854f3d642cbc89 to your computer and use it in GitHub Desktop.
[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
Copy link

pls upload with html code

@maikelgonzalez
Copy link

Thanks for share this solution :=)

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