summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--settings.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/settings.py b/settings.py
index 38bc916..742314d 100644
--- a/settings.py
+++ b/settings.py
@@ -24,9 +24,6 @@ JQUERY_CSS_URLS = ('/javascript/jquery-ui/css/smoothness/jquery-ui.css',
'/javascript/jquery-ui-themes/base/jquery.ui.all.css')
OSM_CSS_URLS = ["http://www.openlayers.org/api/theme/default/style.css"]
-OSM_JS_URLS = [STATIC_URL + "chimere/js/OpenLayers.js",
- STATIC_URL + "chimere/js/SimplePanZoom.js",
- "http://www.openstreetmap.org/openlayers/OpenStreetMap.js"]
GPSBABEL = '/usr/bin/gpsbabel'
GPSBABEL_OPTIONS = 'simplify,crosstrack,error=0.005k' # simplify with an
@@ -253,3 +250,10 @@ if 'CHIMERE_SHARE_NETWORKS' not in globals():
("Identi.ca", 'http://identi.ca/index.php?action=newnotice&status_textarea=%(text)s %(url)s',
STATIC_URL + 'chimere/img/identica.png'),
)
+
+if 'OSM_JS_URLS' not in globals():
+ global OSM_JS_URLS
+ OSM_JS_URLS = [STATIC_URL + "chimere/js/OpenLayers.js",
+ STATIC_URL + "chimere/js/SimplePanZoom.js",
+ "http://www.openstreetmap.org/openlayers/OpenStreetMap.js"]
+