Skip to content

Instantly share code, notes, and snippets.

@cvan
Created November 20, 2019 05:03
Show Gist options
  • Save cvan/327b2ad0a72450fb58e97d1202ba690c to your computer and use it in GitHub Desktop.
Save cvan/327b2ad0a72450fb58e97d1202ba690c to your computer and use it in GitHub Desktop.
JS option to hide the Google Maps helper interstitial (`Use ⌘ + scroll to zoom the map`)
const googleMapsOptions = {
// Hide the Google Maps helper interstitial (`Use ⌘ + scroll to zoom the map`). See https://developers.google.com/maps/documentation/javascript/interaction#understand-the-terminology
gestureHandling: 'greedy'
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment