From 9c3618a5219dc0972f5786cb76bfa29a7d498f85 Mon Sep 17 00:00:00 2001 From: David Molineus Date: Tue, 4 Oct 2016 13:43:39 +0200 Subject: [PATCH] Update leaflet providers. --- assets/leaflet-providers/CHANGELOG.md | 39 +++- assets/leaflet-providers/README.md | 11 +- assets/leaflet-providers/bower.json | 2 +- assets/leaflet-providers/index.html | 13 +- assets/leaflet-providers/leaflet-providers.js | 186 +++++------------- .../leaflet-providers.min.js | 2 +- assets/leaflet-providers/package.json | 7 +- module/config/config.php | 2 +- 8 files changed, 101 insertions(+), 161 deletions(-) diff --git a/assets/leaflet-providers/CHANGELOG.md b/assets/leaflet-providers/CHANGELOG.md index cd00403..c6ba59d 100644 --- a/assets/leaflet-providers/CHANGELOG.md +++ b/assets/leaflet-providers/CHANGELOG.md @@ -1,27 +1,46 @@ # Leaflet-providers changelog -## master version +## 1.1.14 (2016-07-15) +- Remove MapQuest, fixes #219 +- Accidently skipped v1.1.12 and v1.1.13 + +## 1.1.11 (2016-06-04) + - Added protocol relativity to OSM FR, OSM HOT and Hydda providers (#214, #215). + +## 1.1.9 (2016-03-23) + - Re-added HERE layers #209, discussion in #206. + +## 1.1.8 (2016-03-22) + - Removed HERE layers #206 + +## 1.1.7 (2015-12-16) + - Removed Acetate tile layers #198 + +## 1.1.6 (2015-11-03) + - Removed most of the NLS layers per NLS request #193, fixes #178 + - Added new variants to the HERE provider #183 by [@andreaswc](https://github.com/andreaswc) + - Added some tests to make sure all the placeholders in the url template are replaced #188 ## 1.1.5 (2015-10-01) - - Improvements for the NLS layers (#182) by [@tomhughes](https://github.com/tomhughes) + - Improvements for the NLS layers #182 by [@tomhughes](https://github.com/tomhughes) - Check for valid bounds before fitting the preview map to undefined (fixes #185) - Add bounds for FreeMapSK (fixes #184) - Fix Stamen layers with `.jpg` extension (#187, fixes #184) ## 1.1.4 (2015-09-27) - - Only include the interesting files in the npm package (#180) - - Add GSGS_Ireland to NLS provider with `tms:true` to invert y-axis (#181) + - Only include the interesting files in the npm package #180 + - Add GSGS_Ireland to NLS provider with `tms:true` to invert y-axis #181 ## 1.1.3 (2015-09-26) - - Add various historical layers of the Natioanal library of Scotland (NLS) (#179) - - Add a page to visually check bounds (#179) + - Add various historical layers of the Natioanal library of Scotland (NLS) #179 + - Add a page to visually check bounds #179 ## 1.1.2 (2015-09-05) - - Add CartoDB labels-only styles (#170 by [@almccon](https://github.com/almccon)) - - Implement commonjs module (#172) - - Added retina URL option (#177, [@routexl](https://github.com/routexl) + - Add CartoDB labels-only styles #170 by [@almccon](https://github.com/almccon) + - Implement commonjs module #172 + - Added retina URL option #177, [@routexl](https://github.com/routexl) ## 1.1.1 (2015-06-22) - - Update Mapbox API to v4 (#167 by [@gutenye](https://github.com/gutenye)). + - Update Mapbox API to v4 #167 by [@gutenye](https://github.com/gutenye) - Started maintaining a changelog in CHANGELOG.md. diff --git a/assets/leaflet-providers/README.md b/assets/leaflet-providers/README.md index a633c07..0819e15 100644 --- a/assets/leaflet-providers/README.md +++ b/assets/leaflet-providers/README.md @@ -1,6 +1,6 @@ Leaflet-providers ================= -An extension to [Leaflet](http://leafletjs.com/) that contains configurations for various free tile providers. +An extension to [Leaflet](http://leafletjs.com/) that contains configurations for various free[1](#what-is-free) tile providers. # Usage Leaflet-providers [providers](#providers) are refered to with a `provider[.]`-string. Let's say you want to add the nice [Watercolor](http://maps.stamen.com/#watercolor/) style from Stamen to your map, you pass `Stamen.Watercolor` to the `L.tileLayer.provider`-constructor, which will return a [L.TileLayer](http://leafletjs.com/reference.html#tilelayer) instance for Stamens Watercolor tile layer. @@ -21,11 +21,11 @@ Some providers have retina tiles for which the URL only needs to be slightly adj # Providers -Leaflet-providers provides tile layers from different providers, including *OpenStreetMap*, *MapQuestOpen*, *Stamen*, *Esri* and *OpenWeatherMap*. The full listing of free to use layers can be [previewed](http://leaflet-extras.github.io/leaflet-providers/preview/index.html). The page will show you the name to use with `leaflet-providers.js` and the code to use it without dependencies. +Leaflet-providers provides tile layers from different providers, including *OpenStreetMap*, *Stamen*, *Esri* and *OpenWeatherMap*. The full listing of free to use layers can be [previewed](http://leaflet-extras.github.io/leaflet-providers/preview/index.html). The page will show you the name to use with `leaflet-providers.js` and the code to use it without dependencies. ## Providers requiring registration -In addition to the providers you are free to use, we support some layers which require registration. +In addition to the providers you are free1 to use, we support some layers which require registration. ### HERE (formerly Nokia). @@ -56,3 +56,8 @@ In order to use ArcGIS maps, you must [register](https://developers.arcgis.com/e # Attribution This work was inspired from , and originally created by [Stefan Seelmann](https://github.com/seelmann). + +### What do we mean by *free*? +1 +We try to maintain leaflet-providers in such a way that you'll be able to use the layers we include without paying money. +This doesn't mean no limits apply, you should always check before using these layers for anything serious. diff --git a/assets/leaflet-providers/bower.json b/assets/leaflet-providers/bower.json index 08b3bac..744fd4c 100644 --- a/assets/leaflet-providers/bower.json +++ b/assets/leaflet-providers/bower.json @@ -1,6 +1,6 @@ { "name": "leaflet-providers", - "version": "1.1.5", + "version": "1.1.15", "homepage": "https://github.com/leaflet-extras/leaflet-providers", "description": "An extension to Leaflet that contains configurations for various free tile providers.", "dependencies": { diff --git a/assets/leaflet-providers/index.html b/assets/leaflet-providers/index.html index d69e60d..df73cc7 100644 --- a/assets/leaflet-providers/index.html +++ b/assets/leaflet-providers/index.html @@ -6,7 +6,7 @@ - +