From 3a8e39a3968703d9c6aa73a26e4f41ff9bbd1e7f Mon Sep 17 00:00:00 2001 From: etienne Date: Wed, 20 Jan 2010 00:20:58 +0000 Subject: Add a configuration option to restric the map to a revelant box - #71 git-svn-id: http://www.peacefrogs.net/svn/chimere/trunk@52 9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864 --- settings.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'settings.py') diff --git a/settings.py b/settings.py index 96589f0..a20037e 100644 --- a/settings.py +++ b/settings.py @@ -13,6 +13,8 @@ TINYMCE_URL = SERVER_URL + 'tinymce/' DEFAULT_CENTER = (-1.679444, 48.114722) EPSG_PROJECTION = 900913 EPSG_DISPLAY_PROJECTION = 4326 +# if you want to restrict the map to a defined bounding box set it here +RESTRICTED_EXTENT = None # default id category to check on the map DEFAULT_CATEGORIES = [1] -- cgit v1.2.3