diff --git a/src/app/map/components/map.component.ts b/src/app/map/components/map.component.ts index b1bf2fa924ac9e8395df4d17167ea649bb8ea5d9..58a2c3108a36b713b9babaa166d8e2ba47efcf7d 100644 --- a/src/app/map/components/map.component.ts +++ b/src/app/map/components/map.component.ts @@ -1,5 +1,5 @@ import { Component, EventEmitter, HostListener, Input, OnChanges, Output, SimpleChanges } from '@angular/core'; -import L, { geoJSON, latLng, layerGroup, Map, MapOptions, tileLayer } from 'leaflet'; +import L, { Map, MapOptions, geoJSON, latLng, layerGroup, tileLayer } from 'leaflet'; import * as _ from 'lodash'; import metropole from '../../../assets/geojson/metropole.json'; import { Structure } from '../../models/structure.model'; @@ -248,7 +248,8 @@ export class MapComponent implements OnChanges { // Init WMS service with param from data.grandlyon.com layerGroup(); const carteLayer = tileLayer('https://{s}.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}{r}.png', { - attribution: '© <a href="https://carto.com/attributions">CARTO</a>', + attribution: + '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>, © <a href="https://carto.com/attributions">CARTO</a>', maxZoom: ZoomLevel.max, }); // Center is set on townhall