diff --git a/config.js b/config.js index 23416d0..c841130 100644 --- a/config.js +++ b/config.js @@ -5,6 +5,7 @@ defaultZoom: 1, maxZoom: {maxzoom}, cacheMinutes: 0, // Change this to have browsers automatically request new images every x minutes + bg_color: '#1A1A1A', debug: false }; diff --git a/web_assets/functions.js b/web_assets/functions.js index 768a5c3..478b04f 100644 --- a/web_assets/functions.js +++ b/web_assets/functions.js @@ -280,6 +280,7 @@ function initialize() { }, mapTypeId: mapTypeIdDefault, streetViewControl: false, + backgroundColor: config.bg_color, }; map = new google.maps.Map(document.getElementById('mcmap'), mapOptions);