summaryrefslogtreecommitdiff
path: root/example_project/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'example_project/settings.py')
-rw-r--r--example_project/settings.py14
1 files changed, 11 insertions, 3 deletions
diff --git a/example_project/settings.py b/example_project/settings.py
index 750d798..e78751d 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -25,9 +25,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
@@ -99,6 +96,10 @@ CHIMERE_ROUTING_ENGINE = {
NOMINATIM_URL = 'http://nominatim.openstreetmap.org/search'
+# thumbnail
+CHIMERE_THUMBS_SCALE_HEIGHT=250
+CHIMERE_THUMBS_SCALE_WIDTH=None
+
ADMINS = (
# ('Your Name', 'your_email@domain.com'),
)
@@ -277,3 +278,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"]
+