Created
December 6, 2018 09:36
-
-
Save dwcdev/58be508005f865ac1864a30a0f17c08e to your computer and use it in GitHub Desktop.
Snazzy Maps demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var initMap = function() { | |
google.maps.visualRefresh = true; | |
var map_opts = { | |
zoom: 11, | |
// Centered to Indianapolis... | |
center: new google.maps.LatLng(39.768403, -86.158068), | |
// The style is pasted into a member of a gmap_styles literal. You can | |
// paste the JSON here, but it's a lengthy array and won't look very clean. | |
styles: gmap_styles.grass_is_greener | |
}; | |
var gmap = new google.maps.Map(document.getElementById('google-map-demo'), map_opts); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment