From 751846ea0ade97184b5417bcfd64efc6f97a128f Mon Sep 17 00:00:00 2001 From: etienne Date: Sun, 25 Jan 2009 17:50:02 +0000 Subject: Configuration of the map in the configuration file git-svn-id: http://www.peacefrogs.net/svn/chimere/trunk@27 9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864 --- settings.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'settings.py') diff --git a/settings.py b/settings.py index 13f9d24..496f6d0 100644 --- a/settings.py +++ b/settings.py @@ -15,6 +15,11 @@ EPSG_DISPLAY_PROJECTION = 4326 # default id category to check on the map DEFAULT_CATEGORIES = [1] +# 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 +MAP_LAYER = "new OpenLayers.Layer.OSM.Mapnik('Mapnik')" # OSM mapnik map + DEBUG = True TEMPLATE_DEBUG = DEBUG -- cgit v1.2.3