forked from geolba/tethys.frontend
Attribution in minimap corrected
This commit is contained in:
parent
f4bd82a453
commit
013d12e7b3
|
@ -24,6 +24,9 @@ export default class Minimap extends Vue {
|
|||
maxBoundsViscosity: 1.0 // Ensure the map cannot be dragged outside the bounds
|
||||
});
|
||||
|
||||
// Remove Leaflet logo and text
|
||||
map.attributionControl.setPrefix(false);
|
||||
|
||||
const basemapAtLayer = L.tileLayer('https://maps{s}.wien.gv.at/basemap/geolandbasemap/normal/google3857/{z}/{y}/{x}.png', {
|
||||
attribution: '<a href="https://www.basemap.at">basemap.at</a>',
|
||||
noWrap: true,
|
||||
|
@ -31,11 +34,11 @@ export default class Minimap extends Vue {
|
|||
}).addTo(map);
|
||||
|
||||
const esriImageryLayer = L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}', {
|
||||
attribution: 'Tiles © Esri'
|
||||
attribution: 'Tiles © <a href="https://www.esri.com/" target="_blank">Esri</a>'
|
||||
});
|
||||
|
||||
const esriTopoLayer = L.tileLayer('https://server.arcgisonline.com/arcgis/rest/services/World_Topo_Map/MapServer/tile/{z}/{y}/{x}', {
|
||||
attribution: 'Tiles © Esri'
|
||||
attribution: 'Tiles © <a href="https://www.esri.com/" target="_blank">Esri</a>'
|
||||
});
|
||||
|
||||
const baseMaps = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user