aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-fms.js
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2018-10-26 11:25:01 +0100
committerStruan Donald <struan@exo.org.uk>2018-11-19 13:27:43 +0000
commit0e8c7453c40db5ade085fb759ba73fb8ecf9b18d (patch)
treedb38c5676a712bc47a12d5fa7e58f2d10042431d /web/js/map-fms.js
parentb97ea167b85dab9ef6a3781e24a457b392f4154c (diff)
[UK] send reports on highways agency roads to highways agency
Includes an option to send to the council instead for e.g. reports on underpasses or bridges. Fixes #736
Diffstat (limited to 'web/js/map-fms.js')
-rw-r--r--web/js/map-fms.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/web/js/map-fms.js b/web/js/map-fms.js
index 3e23b7590..ac27cfbce 100644
--- a/web/js/map-fms.js
+++ b/web/js/map-fms.js
@@ -39,10 +39,14 @@ OpenLayers.Layer.BingUK = OpenLayers.Class(OpenLayers.Layer.Bing, {
var c = this.map.getCenter();
var in_uk = c ? this.in_uk(c) : true;
if (z >= 16 && in_uk) {
- copyrights = 'Contains Ordnance Survey data &copy; Crown copyright and database right 2016';
+ copyrights = 'Contains Highways England and Ordnance Survey data &copy; Crown copyright and database right 2016';
} else {
logo = '<a href="https://www.bing.com/maps/"><img border=0 src="//dev.virtualearth.net/Branding/logo_powered_by.png"></a>';
- copyrights = '&copy; 2016 <a href="https://www.bing.com/maps/">Microsoft</a>. &copy; AND, Navteq, Ordnance Survey';
+ if (in_uk) {
+ copyrights = '&copy; 2016 <a href="https://www.bing.com/maps/">Microsoft</a>. &copy; AND, Navteq, Highways England, Ordnance Survey';
+ } else {
+ copyrights = '&copy; 2016 <a href="https://www.bing.com/maps/">Microsoft</a>. &copy; AND, Navteq, Ordnance Survey';
+ }
}
this._updateAttribution(copyrights, logo);
},