summaryrefslogtreecommitdiff
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
commite302640980079b88d2ea42f4f63500ba756f3e22 (patch)
tree118771f43cd89715a31963f4a30f860b8242e6fb
parent6577a08e9f9a573e34c869c1f854772007bc1794 (diff)
downloadChimère - projet de référence-e302640980079b88d2ea42f4f63500ba756f3e22.tar.bz2
Chimère - projet de référence-e302640980079b88d2ea42f4f63500ba756f3e22.zip
Manage different and multiple layers in areas (including default)
-rw-r--r--settings.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/settings.py b/settings.py
index b0d4188..332198e 100644
--- a/settings.py
+++ b/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