From 4b798187971dd9a502dab5343c074036011d200d Mon Sep 17 00:00:00 2001
From: mike-000 <49240900+mike-000@users.noreply.github.com>
Date: Wed, 23 Oct 2019 12:03:01 +0100
Subject: [PATCH 1/3] Open default attributions links in new tab/window
---
src/ol/source/OSM.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ol/source/OSM.js b/src/ol/source/OSM.js
index 3996b2bddc..f95f4589a6 100644
--- a/src/ol/source/OSM.js
+++ b/src/ol/source/OSM.js
@@ -13,7 +13,7 @@ import XYZ from './XYZ.js';
* @api
*/
export const ATTRIBUTION = '© ' +
- 'OpenStreetMap ' +
+ 'OpenStreetMap ' +
'contributors.';
From 6b25f713cd0bec91ea9210e919c0210628453f6c Mon Sep 17 00:00:00 2001
From: mike-000 <49240900+mike-000@users.noreply.github.com>
Date: Wed, 23 Oct 2019 12:08:40 +0100
Subject: [PATCH 2/3] Open default attributions links in new tab/window
---
src/ol/source/Stamen.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/ol/source/Stamen.js b/src/ol/source/Stamen.js
index f7ce415932..d3f768a426 100644
--- a/src/ol/source/Stamen.js
+++ b/src/ol/source/Stamen.js
@@ -11,8 +11,8 @@ import XYZ from './XYZ.js';
* @type {Array}
*/
const ATTRIBUTIONS = [
- 'Map tiles by Stamen Design, ' +
- 'under CC BY' +
+ 'Map tiles by Stamen Design, ' +
+ 'under CC BY' +
' 3.0.',
OSM_ATTRIBUTION
];
From ce8b63a67ec1de099867ff187e9aab27f9cd0cee Mon Sep 17 00:00:00 2001
From: mike-000 <49240900+mike-000@users.noreply.github.com>
Date: Wed, 23 Oct 2019 12:10:55 +0100
Subject: [PATCH 3/3] Open default attributions links in new tab/window
---
src/ol/source/BingMaps.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ol/source/BingMaps.js b/src/ol/source/BingMaps.js
index ab0012c110..8ddcdf50ec 100644
--- a/src/ol/source/BingMaps.js
+++ b/src/ol/source/BingMaps.js
@@ -44,7 +44,7 @@ export function quadKey(tileCoord) {
* @type {string}
*/
const TOS_ATTRIBUTION = '' +
+ 'href="https://www.microsoft.com/maps/product/terms.html" target="_blank">' +
'Terms of Use';