Skip to content

Commit b5338fe

Browse files
committed
fix open-street-map https and copyright
1 parent 4759b7e commit b5338fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/plots/mapbox/constants.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var stylesNonMapbox = {
99
sources: {
1010
'plotly-osm-tiles': {
1111
type: 'raster',
12-
attribution: '<a href="http://www.openstreetmap.org/about/" target="_blank">© OpenStreetMap</a>',
12+
attribution: '<a href="https://www.openstreetmap.org/copyright" target="_blank">© OpenStreetMap</a> contributors',
1313
tiles: [
1414
'https://a.tile.openstreetmap.org/{z}/{x}/{y}.png',
1515
'https://b.tile.openstreetmap.org/{z}/{x}/{y}.png'
@@ -81,7 +81,7 @@ var stylesNonMapbox = {
8181
sources: {
8282
'plotly-stamen-terrain': {
8383
type: 'raster',
84-
attribution: 'Map tiles by <a href="http://stamen.com">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a> | Data by <a href="http://openstreetmap.org">OpenStreetMap</a>, under <a href="http://www.openstreetmap.org/copyright">ODbL</a>.',
84+
attribution: 'Map tiles by <a href="http://stamen.com">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a> | Data by <a href="http://openstreetmap.org">OpenStreetMap</a>, under <a href="https://www.openstreetmap.org/copyright">ODbL</a>.',
8585
tiles: ['https://stamen-tiles.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png'],
8686
tileSize: 256
8787
}
@@ -100,7 +100,7 @@ var stylesNonMapbox = {
100100
sources: {
101101
'plotly-stamen-toner': {
102102
type: 'raster',
103-
attribution: 'Map tiles by <a href="http://stamen.com">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a> | Data by <a href="http://openstreetmap.org">OpenStreetMap</a>, under <a href="http://www.openstreetmap.org/copyright">ODbL</a>.',
103+
attribution: 'Map tiles by <a href="http://stamen.com">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a> | Data by <a href="http://openstreetmap.org">OpenStreetMap</a>, under <a href="https://www.openstreetmap.org/copyright">ODbL</a>.',
104104
tiles: ['https://stamen-tiles.a.ssl.fastly.net/toner/{z}/{x}/{y}.png'],
105105
tileSize: 256
106106
}

0 commit comments

Comments
 (0)