Skip to content

Commit

Permalink
Switch to default OSS layers
Browse files Browse the repository at this point in the history
  • Loading branch information
dersmon committed Oct 14, 2024
1 parent 3cf769a commit 00c1cae
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ export default function($compile, transl8) {
zoomAnimation: false});

L.tileLayer(
'http://{s}.tile.thunderforest.com/landscape/{z}/{x}/{y}.png?apikey=b47a3cf895b94aedad41e5cfb5222b87',
{ attribution: 'Maps © Thunderforest, Data © OpenStreetMap contributors' })
'https://tile.openstreetmap.org/{z}/{x}/{y}.png',
{ attribution: 'Maps and Data &copy; <a href="https://osmfoundation.org/wiki/Licence">OpenStreetMap</a>.' })
.addTo(scope.map);

scope.placeLayer = new L.LayerGroup().addTo(scope.map);
Expand Down
4 changes: 3 additions & 1 deletion frontend/app/map/ar-entity-map.directive.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ export default function($compile, Query, placesPainter) {
});
// / Disable dragging functionality if outside of container bounds

var layer = L.tileLayer('http://{s}.tile.thunderforest.com/landscape/{z}/{x}/{y}.png?apikey=b47a3cf895b94aedad41e5cfb5222b87', {
var layer = L.tileLayer(
'https://tile.openstreetmap.org/{z}/{x}/{y}.png',
{ attribution: 'Maps and Data &copy; <a href="https://osmfoundation.org/wiki/Licence">OpenStreetMap</a>.' }, {
maxZoom: 18,
minZoom: 2
});
Expand Down
4 changes: 2 additions & 2 deletions frontend/app/map/map.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ export default function(searchService) {
'osm': {
'name': 'OpenStreetMap',
'type': 'xyz',
'url': 'https://{s}.tile.thunderforest.com/landscape/{z}/{x}/{y}.png?apikey=b47a3cf895b94aedad41e5cfb5222b87',
'url': 'https://tile.openstreetmap.org/{z}/{x}/{y}.png',
'layerOptions': {
'subdomains': ['a', 'b', 'c'],
'attribution': '&copy; <a href=\'https://www.opencyclemap.org\'>OpenCycleMap</a>, &copy; <a href=\'https://www.openstreetmap.org/copyright\'>OpenStreetMap</a> contributors',
'attribution': 'Maps and Data &copy; <a href="https://osmfoundation.org/wiki/Licence">OpenStreetMap</a>.',
'continuousWorld': false,
'maxZoom': 18
}
Expand Down
4 changes: 2 additions & 2 deletions frontend/con10t/ar/hinkel_map.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@
osm: {
'name': 'OpenStreetMap',
'type': 'xyz',
'url': 'http://{s}.tile.thunderforest.com/landscape/{z}/{x}/{y}.png?apikey=b47a3cf895b94aedad41e5cfb5222b87',
'url': 'https://tile.openstreetmap.org/{z}/{x}/{y}.png/{z}/{x}/{y}.png',
'yayerOptions': {
'subdomains': ['a', 'b', 'c'],
'attribution': '&copy; <a href=\'http://www.opencyclemap.org\'>OpenCycleMap</a>, &copy; <a href=\'http://www.openstreetmap.org/copyright\'>OpenStreetMap</a> contributors',
'attribution': 'Maps and Data &copy; <a href=\'https://osmfoundation.org/wiki/Licence\'>OpenStreetMap</a>.'',
'continuousWorld': false,
'maxZoom': 18
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/con10t/de/ceramegypt.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ <h3>Map view</h3>
osm: {
name: 'OpenStreetMap',
type: 'xyz',
url: 'https://{s}.tile.thunderforest.com/landscape/{z}/{x}/{y}.png',
url: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png/{z}/{x}/{y}.png',
layerOptions: {
subdomains: ['a', 'b', 'c'],
attribution: '<a href=\'http://www.openstreetmap.org/copyright\'>OpenStreetMap</a> contributors',
Expand Down
4 changes: 2 additions & 2 deletions frontend/con10t/de/hinkel_map.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@
osm: {
'name': 'OpenStreetMap',
'type': 'xyz',
'url': 'http://{s}.tile.thunderforest.com/landscape/{z}/{x}/{y}.png?apikey=b47a3cf895b94aedad41e5cfb5222b87',
'url': 'https://tile.openstreetmap.org/{z}/{x}/{y}.png',
'layerOptions': {
'subdomains': ['a', 'b', 'c'],
'attribution': '&copy; <a href=\'http://www.opencyclemap.org\'>OpenCycleMap</a>, &copy; <a href=\'http://www.openstreetmap.org/copyright\'>OpenStreetMap</a> contributors',
'attribution': ''Maps and Data &copy; <a href=\'https://osmfoundation.org/wiki/Licence\'>OpenStreetMap</a>.'',
'continuousWorld': false,
'maxZoom': 18
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/con10t/en/ceramegypt.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ <h3>Map view</h3>
osm: {
name: 'OpenStreetMap',
type: 'xyz',
url: 'https://{s}.tile.thunderforest.com/landscape/{z}/{x}/{y}.png',
url: 'http://{s}.https://tile.openstreetmap.org/{z}/{x}/{y}.png/{z}/{x}/{y}.png',
layerOptions: {
subdomains: ['a', 'b', 'c'],
attribution: '<a href=\'http://www.openstreetmap.org/copyright\'>OpenStreetMap</a> contributors',
Expand Down
4 changes: 2 additions & 2 deletions frontend/con10t/en/hinkel_map.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@
osm: {
'name': 'OpenStreetMap',
'type': 'xyz',
'url': 'http://{s}.tile.thunderforest.com/landscape/{z}/{x}/{y}.png?apikey=b47a3cf895b94aedad41e5cfb5222b87',
'url': 'https://tile.openstreetmap.org/{z}/{x}/{y}.png',
'yayerOptions': {
'subdomains': ['a', 'b', 'c'],
'attribution': '&copy; <a href=\'http://www.opencyclemap.org\'>OpenCycleMap</a>, &copy; <a href=\'http://www.openstreetmap.org/copyright\'>OpenStreetMap</a> contributors',
'attribution': 'Maps and Data &copy; <a href=\'https://osmfoundation.org/wiki/Licence\'>OpenStreetMap</a>.',
'continuousWorld': false,
'maxZoom': 18
}
Expand Down

0 comments on commit 00c1cae

Please sign in to comment.