Created
May 24, 2018 18:44
-
-
Save VhMuzini/737a9fdb7b59b53f6a2bbbbe78061335 to your computer and use it in GitHub Desktop.
google map typeControl
This file contains hidden or 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
let mapOptions = { | |
center : new google.maps.LatLng(this.device.lat, this.device.lng), | |
zoom : this.mapDefaultsZoom, | |
// maxZoom: 15, | |
mapTypeId: google.maps.MapTypeId.HYBRID, | |
mapTypeControl: true, | |
mapTypeControlOptions: | |
{ | |
style: google.maps.MapTypeControlStyle.DROPDOWN_MENU, // Possible Values: DEFAULT, DROPDOWN_MENU and HORIZONTAL_BAR | |
}, | |
streetViewControl: false, | |
scrollwheel: true, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment