summaryrefslogtreecommitdiff
path: root/example_project/settings.py.example
diff options
context:
space:
mode:
Diffstat (limited to 'example_project/settings.py.example')
-rw-r--r--example_project/settings.py.example30
1 files changed, 18 insertions, 12 deletions
diff --git a/example_project/settings.py.example b/example_project/settings.py.example
index c9a3934..f7fe697 100644
--- a/example_project/settings.py.example
+++ b/example_project/settings.py.example
@@ -12,45 +12,51 @@ BASE_URL = SERVER_URL + EXTRA_URL
EMAIL_HOST = 'localhost'
STATIC_URL = '/static/'
-TINYMCE_URL = 'http://localhost/tinymce/'
-JQUERY_URL = "/chimere/static/jquery/jquery-1.4.4.min.js"
+TINYMCE_URL = '/tinymce/'
+JQUERY_URL = '/javascript/jquery/jquery.js'
GPSBABEL = '/usr/bin/gpsbabel'
GPSBABEL_OPTIONS = 'simplify,crosstrack,error=0.005k' # simplify with an
# error of 5 meters
#GPSBABEL_OPTIONS = 'simplify,count=100'
## chimere specific ##
+CHIMERE_DEFAULT_ZOOM = 10
# center of the map
-DEFAULT_CENTER = (-1.679444, 48.114722)
+CHIMERE_DEFAULT_CENTER = (-1.679444, 48.114722)
# projection used by the main map
# most public map providers use spherical mercator : 900913
-EPSG_PROJECTION = 900913
+CHIMERE_EPSG_PROJECTION = 900913
# projection displayed to the end user by openlayers
# chimere use the same projection to save its data in the database
-EPSG_DISPLAY_PROJECTION = 4326
+CHIMERE_EPSG_DISPLAY_PROJECTION = 4326
# to restrict the map to a defined bounding box set it here
# (left, bottom, right, top)
-RESTRICTED_EXTENT = None
+CHIMERE_RESTRICTED_EXTENT = None
# dynamic load of categories on the main map
-DYNAMIC_CATEGORIES = False
+CHIMERE_DYNAMIC_CATEGORIES = False
# display of shortcuts for areas
-DISPLAY_AREAS = True
+CHIMERE_DISPLAY_AREAS = True
# specific css for areas
-CSS_AREAS = True
+CHIMERE_CSS_AREAS = True
# number of day before an event to display
# if equal to 0: disable event management
# if you change this value from 0 to a value in a production environnement
# don't forget to run the upgrade.py script to create appropriate fields in
# the database
-DAYS_BEFORE_EVENT = 30
+CHIMERE_DAYS_BEFORE_EVENT = 30
+
+CHIMERE_ICON_WIDTH = 34
+CHIMERE_ICON_HEIGHT = 38
+CHIMERE_ICON_OFFSET_X = -17
+CHIMERE_ICON_OFFSET_Y = -38
# default id category to check on the map
-DEFAULT_CATEGORIES = [1]
+CHIMERE_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
+CHIMERE_MAP_LAYER = "new OpenLayers.Layer.OSM.Mapnik('Mapnik')" # OSM mapnik map
DEBUG = True
TEMPLATE_DEBUG = DEBUG