From 0e8c7453c40db5ade085fb759ba73fb8ecf9b18d Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Fri, 26 Oct 2018 11:25:01 +0100 Subject: [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 --- web/js/map-fms.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'web/js/map-fms.js') 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 © Crown copyright and database right 2016'; + copyrights = 'Contains Highways England and Ordnance Survey data © Crown copyright and database right 2016'; } else { logo = ''; - copyrights = '© 2016 Microsoft. © AND, Navteq, Ordnance Survey'; + if (in_uk) { + copyrights = '© 2016 Microsoft. © AND, Navteq, Highways England, Ordnance Survey'; + } else { + copyrights = '© 2016 Microsoft. © AND, Navteq, Ordnance Survey'; + } } this._updateAttribution(copyrights, logo); }, -- cgit v1.2.3