summaryrefslogtreecommitdiff
path: root/chimere/settings.sample.py
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/settings.sample.py')
-rw-r--r--chimere/settings.sample.py20
1 files changed, 7 insertions, 13 deletions
diff --git a/chimere/settings.sample.py b/chimere/settings.sample.py
index b23f31e..22502b2 100644
--- a/chimere/settings.sample.py
+++ b/chimere/settings.sample.py
@@ -307,27 +307,21 @@ if 'MAP_CSS_URLS' not in globals():
global MAP_CSS_URLS
MAP_CSS_URLS = {
'openlayers':["http://www.openlayers.org/api/theme/default/style.css"],
- 'leaflet':[STATIC_URL + "leaflet/leaflet.css"],
+ 'leaflet':[STATIC_URL + "leaflet/leaflet.css",
+ STATIC_URL + "leaflet-markercluster/MarkerCluster.css",
+ STATIC_URL + "leaflet-markercluster/MarkerCluster.Default.css",
+ ]
}
- if CHIMERE_ENABLE_CLUSTERING:
- MAP_CSS_URLS['leaflet'] += [
- STATIC_URL + "leaflet-markercluster/MarkerCluster.css",
- STATIC_URL + "leaflet-markercluster/MarkerCluster.Default.css",
- ]
# key: [(url, condition)]
MAP_CONDITIONNAL_CSS_URLS = {
'openlayers':[("http://www.openlayers.org/api/theme/default/style.css",
None)],
'leaflet':[
- (STATIC_URL + "leaflet/leaflet.css", None),
- (STATIC_URL + "leaflet/leaflet.ie.css", 'lte IE 8')
- ]
- }
- if CHIMERE_ENABLE_CLUSTERING:
- MAP_CSS_URLS['leaflet'] += [
+ (STATIC_URL + "leaflet/leaflet.css", None),
+ (STATIC_URL + "leaflet/leaflet.ie.css", 'lte IE 8')
(STATIC_URL + "leaflet-markercluster/MarkerCluster.css", None),
(STATIC_URL + "leaflet-markercluster/MarkerCluster.Default.css", None),
(STATIC_URL + "leaflet-markercluster/MarkerCluster.Default.ie.css",
'lte IE 8'),
]
-
+ }