diff options
Diffstat (limited to 'templates/web/base/maps/fms.html')
-rw-r--r-- | templates/web/base/maps/fms.html | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/templates/web/base/maps/fms.html b/templates/web/base/maps/fms.html index 286ecc8ff..2df3bd11b 100644 --- a/templates/web/base/maps/fms.html +++ b/templates/web/base/maps/fms.html @@ -1,3 +1,9 @@ -[% -map_html = INCLUDE maps/openlayers.html include_key = 1 -%] +[% map_sub_links = BLOCK %] + [% IF c.req.params.aerial %] + <a id="map_layer_toggle" href="[% c.uri_with( { aerial => 0 } ) %]">[% loc('Roads') %]</a> + [% ELSE %] + <a id="map_layer_toggle" href="[% c.uri_with( { aerial => 1 } ) %]">[% loc('Aerial') %]</a> + [% END %] +[% END %] + +[% map_html = INCLUDE maps/openlayers.html include_key = 1 %] |