summaryrefslogtreecommitdiff
path: root/example_project
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2012-05-05 21:49:29 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2012-05-05 21:49:29 +0200
commite01b6a270a4c5a790ef70b799e404fe062c1b0de (patch)
tree7db3dc478650370bdbbb0f1ae3f05806465e8b8d /example_project
parent073803dcd5ef341bc1eeada67942adb78a4c253d (diff)
downloadChimère-e01b6a270a4c5a790ef70b799e404fe062c1b0de.tar.bz2
Chimère-e01b6a270a4c5a790ef70b799e404fe062c1b0de.zip
Manage different and multiple layers in areas (including default)
Diffstat (limited to 'example_project')
-rw-r--r--example_project/settings.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/example_project/settings.py b/example_project/settings.py
index b0d4188..332198e 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -71,10 +71,10 @@ CHIMERE_DEFAULT_CATEGORIES = [1]
# display picture inside the description by default or inside a galery?
CHIMERE_MINIATURE_BY_DEFAULT = False
-# JS definition of the main map cf. OpenLayers documentation for more details
-#MAP_LAYER = '''new OpenLayers.Layer.OSM.CycleMap("Cycle map", {
-#displayOutsideMaxExtent: true, wrapDateLine: true})''' # OSM cyclemap
-CHIMERE_MAP_LAYER = "new OpenLayers.Layer.OSM.Mapnik('Mapnik')" # OSM mapnik map
+# JS definition of the default map (for admin and when no map are defined in
+# the application)
+# cf. OpenLayers documentation for more details
+CHIMERE_DEFAULT_MAP_LAYER = "new OpenLayers.Layer.OSM.Mapnik('Mapnik')" # OSM mapnik map
CHIMERE_XAPI_URL = 'http://open.mapquestapi.com/xapi/api/0.6/'
CHIMERE_OSM_API_URL = 'api06.dev.openstreetmap.org' # test URL