From 4dcd4e91df28ed9d2ca94f0c5bf856c7baef50da Mon Sep 17 00:00:00 2001 From: Gautier P Date: Mon, 10 Jun 2019 13:11:24 +0200 Subject: [PATCH] Add required attribution --- src/app/pages/maps/leaflet/leaflet.component.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/app/pages/maps/leaflet/leaflet.component.ts b/src/app/pages/maps/leaflet/leaflet.component.ts index 30333e79..dddaac8e 100644 --- a/src/app/pages/maps/leaflet/leaflet.component.ts +++ b/src/app/pages/maps/leaflet/leaflet.component.ts @@ -19,7 +19,12 @@ export class LeafletComponent { options = { 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: '© OpenStreetMap contributors', + }), ], zoom: 5, center: L.latLng({ lat: 38.991709, lng: -76.886109 }),