This commit is contained in:
Gautier P 2024-11-29 00:49:09 +00:00 committed by GitHub
commit 7cad64bb4a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,7 +18,12 @@ export class LeafletComponent {
options = { options = {
layers: [ layers: [
L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { maxZoom: 18, attribution: '...' }), L.tileLayer(
'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
{
maxZoom: 18,
attribution: '&copy; <a href="https://www.openstreetmap.org">OpenStreetMapcontributors</a>',
}),
], ],
zoom: 5, zoom: 5,
center: L.latLng({ lat: 38.991709, lng: -76.886109 }), center: L.latLng({ lat: 38.991709, lng: -76.886109 }),