diff options
author | Matthew Somerville <matthew@mysociety.org> | 2014-10-06 15:47:21 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2015-02-23 17:10:05 +0000 |
commit | 032db2fbb6bd2bf0cf0cf2daa379610ab319a6a8 (patch) | |
tree | 7c23e16a551d80ebc2b3ebf05cbc5dac16e1be6e /templates | |
parent | c763a5e8e78849d736f9c0cec92ee2687ac9e75d (diff) |
Support Stamen toner-lite and Bing Maps tiles.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/base/maps/bing.html | 12 | ||||
-rw-r--r-- | templates/web/base/maps/fms.html | 6 | ||||
-rw-r--r-- | templates/web/base/maps/osm-toner-lite.html | 14 |
3 files changed, 28 insertions, 4 deletions
diff --git a/templates/web/base/maps/bing.html b/templates/web/base/maps/bing.html new file mode 100644 index 000000000..1747f1bbe --- /dev/null +++ b/templates/web/base/maps/bing.html @@ -0,0 +1,12 @@ +[% map_js = BLOCK %] +<!-- <script type="text/javascript" src="http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0&mkt=en-GB"></script> --> +<script type="text/javascript" src="[% version('/js/OpenLayers.fixmystreet.js') %]"></script> +<script type="text/javascript" src="[% version('/js/map-OpenLayers.js') %]"></script> +<script type="text/javascript" src="[% version('/js/map-bing-ol.js') %]"></script> +<script type="text/javascript" src="[% version('/js/jquery.ba-hashchange.min.js') %]"></script> +<!--[if lte IE 6]> + <link rel="stylesheet" href="/js/OpenLayers-2.13.1/theme/default/ie6-style.css" type="text/css"> +<![endif]--> +[% END %] + +[% map_html = INCLUDE maps/openlayers.html %] diff --git a/templates/web/base/maps/fms.html b/templates/web/base/maps/fms.html index 1cdfc0b35..d4302e72e 100644 --- a/templates/web/base/maps/fms.html +++ b/templates/web/base/maps/fms.html @@ -3,13 +3,11 @@ <script type="text/javascript" src="[% version('/js/OpenLayers.fixmystreet.js') %]"></script> <script type="text/javascript" src="[% version('/js/map-OpenLayers.js') %]"></script> <script type="text/javascript" src="[% version('/js/map-bing-ol.js') %]"></script> +<script type="text/javascript" src="[% version('/js/map-fms.js') %]"></script> <script type="text/javascript" src="[% version('/js/jquery.ba-hashchange.min.js') %]"></script> <!--[if lte IE 6]> <link rel="stylesheet" href="/js/OpenLayers-2.13.1/theme/default/ie6-style.css" type="text/css"> <![endif]--> [% END %] -[% map_html = BLOCK %] -[% INCLUDE maps/openlayers.html %] -[% END %] - +[% map_html = INCLUDE maps/openlayers.html %] diff --git a/templates/web/base/maps/osm-toner-lite.html b/templates/web/base/maps/osm-toner-lite.html new file mode 100644 index 000000000..64fa91937 --- /dev/null +++ b/templates/web/base/maps/osm-toner-lite.html @@ -0,0 +1,14 @@ +[% map_js = BLOCK %] +<script type="text/javascript" src="[% version('/js/OpenLayers.fixmystreet.js') %]"></script> +<script type="text/javascript" src="https://stamen-maps.a.ssl.fastly.net/js/tile.stamen.js?v1.3.0"></script> +<script type="text/javascript" src="[% version('/js/map-OpenLayers.js') %]"></script> +<script type="text/javascript" src="[% version('/js/map-toner-lite.js') %]"></script> +<script type="text/javascript" src="[% version('/js/jquery.ba-hashchange.min.js') %]"></script> +<!--[if lte IE 6]> + <link rel="stylesheet" href="/js/OpenLayers-2.13.1/theme/default/ie6-style.css" type="text/css"> +<![endif]--> +[% END %] + +[% map_html = BLOCK %] +[% INCLUDE maps/openlayers.html %] +[% END %] |