background color support
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
defaultZoom: 1,
|
defaultZoom: 1,
|
||||||
maxZoom: {maxzoom},
|
maxZoom: {maxzoom},
|
||||||
cacheMinutes: 0, // Change this to have browsers automatically request new images every x minutes
|
cacheMinutes: 0, // Change this to have browsers automatically request new images every x minutes
|
||||||
|
bg_color: '#1A1A1A',
|
||||||
debug: false
|
debug: false
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -280,6 +280,7 @@ function initialize() {
|
|||||||
},
|
},
|
||||||
mapTypeId: mapTypeIdDefault,
|
mapTypeId: mapTypeIdDefault,
|
||||||
streetViewControl: false,
|
streetViewControl: false,
|
||||||
|
backgroundColor: config.bg_color,
|
||||||
};
|
};
|
||||||
map = new google.maps.Map(document.getElementById('mcmap'), mapOptions);
|
map = new google.maps.Map(document.getElementById('mcmap'), mapOptions);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user