diff options
Diffstat (limited to 'templates/web/default/maps/osm.html')
-rw-r--r-- | templates/web/default/maps/osm.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/web/default/maps/osm.html b/templates/web/default/maps/osm.html index 4c1c23166..bdc6b8cb3 100644 --- a/templates/web/default/maps/osm.html +++ b/templates/web/default/maps/osm.html @@ -23,25 +23,25 @@ var fixmystreet = { <div id="drag"><[% map.img_type %] alt="NW map tile" id="t2.2" name="tile_[% map.x_tile - 1 %].[% map.y_tile - 1 %]" - src="http://a.tile.openstreetmap.org/[% map.zoom_act %]/[% map.x_tile - 1 %]/[% map.y_tile - 1 %].png" + src="http://a.[% map.tile_url %]/[% map.zoom_act %]/[% map.x_tile - 1 %]/[% map.y_tile - 1 %].png" style="top:0; left:0;"><[% map.img_type %] alt="NE map tile" id="t2.3" name="tile_[% map.x_tile %].[% map.y_tile - 1 %]" - src="http://b.tile.openstreetmap.org/[% map.zoom_act %]/[% map.x_tile %]/[% map.y_tile - 1 %].png" + src="http://b.[% map.tile_url %]/[% map.zoom_act %]/[% map.x_tile %]/[% map.y_tile - 1 %].png" style="top:0px; left:256px;"><br><[% map.img_type %] alt="SW map tile" id="t3.2" name="tile_[% map.x_tile - 1 %].[% map.y_tile %]" - src="http://c.tile.openstreetmap.org/[% map.zoom_act %]/[% map.x_tile - 1 %]/[% map.y_tile %].png" + src="http://c.[% map.tile_url %]/[% map.zoom_act %]/[% map.x_tile - 1 %]/[% map.y_tile %].png" style="top:256px; left:0;"><[% map.img_type %] alt="SE map tile" id="t3.3" name="tile_[% map.x_tile %].[% map.y_tile %]" - src="http://tile.openstreetmap.org/[% map.zoom_act %]/[% map.x_tile %]/[% map.y_tile %].png" + src="http://[% map.tile_url %]/[% map.zoom_act %]/[% map.x_tile %]/[% map.y_tile %].png" style="top:256px; left:256px;"></div> <div id="pins">[% FOR pin IN map.pins %][% INCLUDE pin %][% END %]</div> [% INCLUDE compass %] </noscript></div> <p id="copyright"> - [% loc('Map © <a id="osm_link" href="http://www.openstreetmap.org/">OpenStreetMap</a> and contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>') %] + [% map.copyright %] </p> |