From 4a6d7f76ea44129c92aa47df4bf2e399da6c8ebd Mon Sep 17 00:00:00 2001 From: aheadley Date: Thu, 27 Jan 2011 10:59:07 -0500 Subject: [PATCH] background color support --- config.js | 1 + web_assets/functions.js | 1 + 2 files changed, 2 insertions(+) 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);