diff options
| author | Étienne Loks <etienne.loks@proxience.com> | 2015-02-20 21:09:12 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@proxience.com> | 2015-02-20 21:09:12 +0100 |
| commit | a47acfb77d874e62e2d699ae792fbb77c5f8f61a (patch) | |
| tree | b67b2d07a1037cbaeafc6c52a71ff6df3566418d /chimere/templates | |
| parent | 35d3f8d36ab0b3b93d590a56667a4890951951ca (diff) | |
| download | Chimère-a47acfb77d874e62e2d699ae792fbb77c5f8f61a.tar.bz2 Chimère-a47acfb77d874e62e2d699ae792fbb77c5f8f61a.zip | |
Change JS transport and route management to be available on startup
Diffstat (limited to 'chimere/templates')
| -rw-r--r-- | chimere/templates/chimere/blocks/map.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chimere/templates/chimere/blocks/map.html b/chimere/templates/chimere/blocks/map.html index 07f0618..764d07b 100644 --- a/chimere/templates/chimere/blocks/map.html +++ b/chimere/templates/chimere/blocks/map.html @@ -44,6 +44,8 @@ $(function(){ {% if p_routing_end_lon %}chimere_init_options["routing_end_lon"] = {{ p_routing_end_lon }};{% endif %} {% if p_routing_end_lat %}chimere_init_options["routing_end_lat"] = {{ p_routing_end_lat }};{% endif %} {% if p_routing_steps %}chimere_init_options["routing_steps_lonlat"] = [{{ p_routing_steps }}];{% endif %} + {% if p_routing_transport %}chimere_init_options["routing_transport"] = "{{ p_routing_transport }}";{% endif %} + {% if p_routing_speed %}chimere_init_options["routing_speed"] = "{{ p_routing_speed }}";{% endif %} chimere_init_options["icon_offset"] = new OpenLayers.Pixel({{icon_offset_x}}, {{icon_offset_y}}); chimere_init_options["dynamic_categories"] = {{ dynamic_categories }}; |
