Add option to select Google Map type

This commit is contained in:
Brian Miyaji
2014-05-16 21:53:06 +10:00
parent 4ec64cd5ee
commit 38a4a321ba
3 changed files with 16 additions and 1 deletions

View File

@@ -10,7 +10,8 @@
var mapOptions = {
scrollwheel: false,
zoom: 12,
center: ll
center: ll,
mapTypeId: google.maps.MapTypeId[vars.map_type]
};
var map = new google.maps.Map($self[0], mapOptions)
var marker = new google.maps.Marker({