diff --git a/.gitignore b/.gitignore index 0e6b7ded..4e8a6a44 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ +/node_modules leaflet-providers.min.js diff --git a/leaflet-providers.js b/leaflet-providers.js index eb213611..ba52511b 100644 --- a/leaflet-providers.js +++ b/leaflet-providers.js @@ -81,7 +81,7 @@ options: { maxZoom: 19, attribution: - '© OpenStreetMap' + '© OpenStreetMap contributors' }, variants: { Mapnik: {}, @@ -114,7 +114,10 @@ HOT: { url: 'https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', options: { - attribution: '{attribution.OpenStreetMap}, Tiles courtesy of Humanitarian OpenStreetMap Team' + attribution: + '{attribution.OpenStreetMap}, ' + + 'Tiles style by Humanitarian OpenStreetMap Team ' + + 'hosted by OpenStreetMap France' } }, BZH: { @@ -238,8 +241,9 @@ url: 'https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}{r}.png?access_token={accessToken}', options: { attribution: - 'Imagery from MapBox — ' + - 'Map data {attribution.OpenStreetMap}', + '© Mapbox ' + + '{attribution.OpenStreetMap} ' + + 'Improve this map', subdomains: 'abcd', id: 'mapbox.streets', accessToken: '', diff --git a/package.json b/package.json index 44cbc0da..4a1cd721 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "devDependencies": { "chai": "^4.1.2", "eslint": "^5.4.0", - "eslint-plugin-html": "^4.0.5", + "eslint-plugin-html": "^5.0.3", "mocha": "^5.2.0", "mocha-chrome": "^1.1.0", "mversion": "^1.12.0",