Update leaflet providers.

This commit is contained in:
David Molineus
2018-12-17 17:01:08 +01:00
parent e7bede78b1
commit 79f6efd9f3
3 changed files with 71 additions and 4 deletions

View File

@@ -6,6 +6,29 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## 3.1.2 - TBD
[Full Changelog](https://github.com/netzmacht/contao-leaflet-maps/compare/3.1.1...hotfix/3.1.2)
### Fixed
- Fix broken MapBox integration: Access token is now required
- Fix broken OpenWeatherMap integration: Api key is now required
- Fix broken Thunderforest integration: Api key is now required
### Added
- Add missing OpenPtMap of leaflet-providers
- Add missing OpenRailwayMap of leaflet-providers
- Add missing OpenFireMap of leaflet-providers
- Add missing SafeCast of leaflet-providers
- Add missing map types `normalNightTransit`, `normalNightTransitMobile`, `reducedDay`, `reducedNight`,
`hybridDayTransit` and `hybridDayGrey` of HERE provider
- Add missing map types `Voyager`, `VoyagerNoLabels`, `VoyagerOnlyLabels` and `VoyagerLabelsUnder` of CartoDB provider
- Add missing Wikimedia of leaflet-providers
- Add missing GeoportailFrance of leaflet-providers
- Add missing OneMapSG of leaflet-providers
## 3.1.1 - 2018-12-07 ## 3.1.1 - 2018-12-07
[Full Changelog](https://github.com/netzmacht/contao-leaflet-maps/compare/3.1.0...3.1.1) [Full Changelog](https://github.com/netzmacht/contao-leaflet-maps/compare/3.1.0...3.1.1)

View File

@@ -34,10 +34,10 @@
"symfony/http-kernel": "~3.3 || ~4.0", "symfony/http-kernel": "~3.3 || ~4.0",
"symfony/translation": "~3.3 || ~4.0", "symfony/translation": "~3.3 || ~4.0",
"symfony/templating": "~3.3 || ~4.0", "symfony/templating": "~3.3 || ~4.0",
"netzmacht/contao-leaflet-libraries": "^1.0", "netzmacht/contao-leaflet-libraries": "^1.3.4",
"netzmacht/contao-leaflet-geocode-widget": "^1.2", "netzmacht/contao-leaflet-geocode-widget": "^1.2",
"netzmacht/php-javascript-builder": "^1.0", "netzmacht/php-javascript-builder": "^1.0",
"netzmacht/php-leaflet": "^1.0.2", "netzmacht/php-leaflet": "^1.1.0",
"netzmacht/contao-toolkit": "~3.0", "netzmacht/contao-toolkit": "~3.0",
"netzmacht/contao-page-context": "~1.0", "netzmacht/contao-page-context": "~1.0",
"contao-community-alliance/meta-palettes": "^2.0 || ^1.5", "contao-community-alliance/meta-palettes": "^2.0 || ^1.5",

View File

@@ -1,13 +1,22 @@
parameters: parameters:
netzmacht.contao_leaflet.providers: netzmacht.contao_leaflet.providers:
OpenStreetMap: OpenStreetMap:
variants: ['Mapnik', 'BlackAndWhite', 'DE', 'France', 'HOT', 'BZH'] variants: ['Mapnik', 'BlackAndWhite', 'DE', 'CH', 'France', 'HOT', 'BZH']
OpenSeaMap: [] OpenSeaMap: []
OpenTopoMap: [] OpenTopoMap: []
OpenPtMap: []
OpenRailwayMap: []
OpenFireMap: []
SafeCast: []
Thunderforest: Thunderforest:
class: 'Netzmacht\LeafletPHP\Plugins\LeafletProviders\ThunderforestProvider'
variants: variants:
- 'OpenCycleMap' - 'OpenCycleMap'
- 'Transport' - 'Transport'
@@ -16,6 +25,9 @@ parameters:
- 'Landscape' - 'Landscape'
- 'Outdoors' - 'Outdoors'
- 'Pioneer' - 'Pioneer'
options:
apiKey: 'tile_provider_key'
fields: ['tile_provider_key']
OpenMapSurfer: OpenMapSurfer:
variants: ['Roads', 'AdminBounds', 'Grayscale'] variants: ['Roads', 'AdminBounds', 'Grayscale']
@@ -26,7 +38,8 @@ parameters:
MapBox: MapBox:
class: 'Netzmacht\LeafletPHP\Plugins\LeafletProviders\MapBoxProvider' class: 'Netzmacht\LeafletPHP\Plugins\LeafletProviders\MapBoxProvider'
options: options:
key: 'tile_provider_key' accessToken: 'tile_provider_key'
fields: ['tile_provider_key']
Stamen: Stamen:
variants: variants:
@@ -56,6 +69,7 @@ parameters:
- 'WorldGrayCanvas' - 'WorldGrayCanvas'
OpenWeatherMap: OpenWeatherMap:
class: 'Netzmacht\LeafletPHP\Plugins\LeafletProviders\OpenWeatherMapProvider'
variants: variants:
- 'Clouds' - 'Clouds'
- 'CloudsClassic' - 'CloudsClassic'
@@ -68,6 +82,9 @@ parameters:
- 'Wind' - 'Wind'
- 'Temperature' - 'Temperature'
- 'Snow' - 'Snow'
options:
accessToken: 'tile_provider_key'
fields: ['tile_provider_key']
HERE: HERE:
class: 'Netzmacht\LeafletPHP\Plugins\LeafletProviders\HereProvider' class: 'Netzmacht\LeafletPHP\Plugins\LeafletProviders\HereProvider'
@@ -83,12 +100,18 @@ parameters:
- 'normalNightMobile' - 'normalNightMobile'
- 'normalNightGrey' - 'normalNightGrey'
- 'normalNightGreyMobile' - 'normalNightGreyMobile'
- 'normalNightTransit'
- 'normalNightTransitMobile'
- 'reducedDay'
- 'reducedNight'
- 'basicMap' - 'basicMap'
- 'mapLabels' - 'mapLabels'
- 'trafficFlow' - 'trafficFlow'
- 'carnavDayGrey' - 'carnavDayGrey'
- 'hybridDay' - 'hybridDay'
- 'hybridDayMobile' - 'hybridDayMobile'
- 'hybridDayTransit'
- 'hybridDayGrey'
- 'pedestrianDay' - 'pedestrianDay'
- 'pedestrianNight' - 'pedestrianNight'
- 'satelliteDay' - 'satelliteDay'
@@ -123,6 +146,10 @@ parameters:
- 'DarkMatter' - 'DarkMatter'
- 'DarkMatterNoLabels' - 'DarkMatterNoLabels'
- 'DarkMatterOnlyLabels' - 'DarkMatterOnlyLabels'
- 'Voyager'
- 'VoyagerNoLabels'
- 'VoyagerOnlyLabels'
- 'VoyagerLabelsUnder'
HikeBike: HikeBike:
variants: variants:
@@ -155,3 +182,20 @@ parameters:
- 'ModisTerraChlorophyll' - 'ModisTerraChlorophyll'
NLS: [] NLS: []
Wikimedia: []
GeoportailFrance:
variants:
- 'parcels'
- 'ignMaps'
- 'maps'
- 'orthos'
OneMapSG:
variants:
- 'Default'
- 'Night'
- 'Original'
- 'Grey'
- 'LandLot'