summaryrefslogtreecommitdiff
path: root/chimere/widgets.py
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/widgets.py')
-rw-r--r--chimere/widgets.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/chimere/widgets.py b/chimere/widgets.py
index bfa4fe7..e9a391e 100644
--- a/chimere/widgets.py
+++ b/chimere/widgets.py
@@ -150,12 +150,13 @@ class PointChooserWidget(forms.TextInput):
var EPSG_DISPLAY_PROJECTION = epsg_display_projection = new OpenLayers.Projection('EPSG:%s');
var EPSG_PROJECTION = epsg_projection = new OpenLayers.Projection('EPSG:%s');
var chimere_init_options = {};
+ chimere_init_options["default_icon"] = new OpenLayers.Icon('%schimere/img/marker-green.png', new OpenLayers.Size(21, 25), new OpenLayers.Pixel(-(21/2), -25));
chimere_init_options["map_layers"] = [%s];
chimere_init_options['dynamic_categories'] = false;
chimere_init_options['edition'] = true;
chimere_init_options["checked_categories"] = [];
""" % (settings.STATIC_URL, settings.CHIMERE_EPSG_DISPLAY_PROJECTION,
- settings.CHIMERE_EPSG_PROJECTION,
+ settings.CHIMERE_EPSG_PROJECTION, settings.STATIC_URL,
", ".join(map_layers))
#TODO: manage area
tpl = u"<script type='text/javascript'><!--\n"\