mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 15:40:11 +01:00
Add required attribution
This commit is contained in:
parent
b11ccb78ff
commit
4dcd4e91df
1 changed files with 6 additions and 1 deletions
|
|
@ -19,7 +19,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: '© <a href="https://www.openstreetmap.org">OpenStreetMap contributors</a>',
|
||||||
|
}),
|
||||||
],
|
],
|
||||||
zoom: 5,
|
zoom: 5,
|
||||||
center: L.latLng({ lat: 38.991709, lng: -76.886109 }),
|
center: L.latLng({ lat: 38.991709, lng: -76.886109 }),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue