diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-02-02 00:20:42 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-02-02 00:20:42 +0100 |
| commit | f600a6e722d097ad4f9ba31fd49f8e84fc8ea23c (patch) | |
| tree | 21da4ddc4c95cab67531c7668bf7a1778c2b8cda /chimere/templates | |
| parent | 0092d11e1cdc68dc698c3d5cedb9c6e89995342a (diff) | |
| download | Chimère-2.0-RC6.tar.bz2 Chimère-2.0-RC6.zip | |
JS: when the marker selected is associated to a route zoom to its extentv2.0-RC6
Diffstat (limited to 'chimere/templates')
| -rw-r--r-- | chimere/templates/chimere/blocks/map.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chimere/templates/chimere/blocks/map.html b/chimere/templates/chimere/blocks/map.html index 886c50b..9788528 100644 --- a/chimere/templates/chimere/blocks/map.html +++ b/chimere/templates/chimere/blocks/map.html @@ -31,8 +31,9 @@ chimere_init_options["checked_categories"] = {{ p_checked_categories }}; {% if area_id %}chimere_init_options['area_id'] = "{{area_id}}";{% endif %} {% if p_current_feature %} - chimere_init_options["display_feature"] = {{ p_current_feature }}; - {% endif %} + chimere_init_options["display_feature"] = {{ p_current_feature }};{% endif %} + {% if p_current_route %} + chimere_init_options["display_route"] = {{ p_current_route }};{% endif %} {% if restricted_extent %}{{ restricted_extent }} chimere_init_options["restricted_extent"] = bounds; {% endif %} |
