diff --git a/CHANGELOG.md b/CHANGELOG.md index c5c5723..2b6da8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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/), 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 [Full Changelog](https://github.com/netzmacht/contao-leaflet-maps/compare/3.1.0...3.1.1) diff --git a/composer.json b/composer.json index 5a69266..d1c1611 100644 --- a/composer.json +++ b/composer.json @@ -34,10 +34,10 @@ "symfony/http-kernel": "~3.3 || ~4.0", "symfony/translation": "~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/php-javascript-builder": "^1.0", - "netzmacht/php-leaflet": "^1.0.2", + "netzmacht/php-leaflet": "^1.1.0", "netzmacht/contao-toolkit": "~3.0", "netzmacht/contao-page-context": "~1.0", "contao-community-alliance/meta-palettes": "^2.0 || ^1.5", diff --git a/src/Bundle/Resources/config/providers.yml b/src/Bundle/Resources/config/providers.yml index 880ddde..b485ffa 100644 --- a/src/Bundle/Resources/config/providers.yml +++ b/src/Bundle/Resources/config/providers.yml @@ -1,13 +1,22 @@ parameters: netzmacht.contao_leaflet.providers: OpenStreetMap: - variants: ['Mapnik', 'BlackAndWhite', 'DE', 'France', 'HOT', 'BZH'] + variants: ['Mapnik', 'BlackAndWhite', 'DE', 'CH', 'France', 'HOT', 'BZH'] OpenSeaMap: [] OpenTopoMap: [] + OpenPtMap: [] + + OpenRailwayMap: [] + + OpenFireMap: [] + + SafeCast: [] + Thunderforest: + class: 'Netzmacht\LeafletPHP\Plugins\LeafletProviders\ThunderforestProvider' variants: - 'OpenCycleMap' - 'Transport' @@ -16,6 +25,9 @@ parameters: - 'Landscape' - 'Outdoors' - 'Pioneer' + options: + apiKey: 'tile_provider_key' + fields: ['tile_provider_key'] OpenMapSurfer: variants: ['Roads', 'AdminBounds', 'Grayscale'] @@ -26,7 +38,8 @@ parameters: MapBox: class: 'Netzmacht\LeafletPHP\Plugins\LeafletProviders\MapBoxProvider' options: - key: 'tile_provider_key' + accessToken: 'tile_provider_key' + fields: ['tile_provider_key'] Stamen: variants: @@ -56,6 +69,7 @@ parameters: - 'WorldGrayCanvas' OpenWeatherMap: + class: 'Netzmacht\LeafletPHP\Plugins\LeafletProviders\OpenWeatherMapProvider' variants: - 'Clouds' - 'CloudsClassic' @@ -68,6 +82,9 @@ parameters: - 'Wind' - 'Temperature' - 'Snow' + options: + accessToken: 'tile_provider_key' + fields: ['tile_provider_key'] HERE: class: 'Netzmacht\LeafletPHP\Plugins\LeafletProviders\HereProvider' @@ -83,12 +100,18 @@ parameters: - 'normalNightMobile' - 'normalNightGrey' - 'normalNightGreyMobile' + - 'normalNightTransit' + - 'normalNightTransitMobile' + - 'reducedDay' + - 'reducedNight' - 'basicMap' - 'mapLabels' - 'trafficFlow' - 'carnavDayGrey' - 'hybridDay' - 'hybridDayMobile' + - 'hybridDayTransit' + - 'hybridDayGrey' - 'pedestrianDay' - 'pedestrianNight' - 'satelliteDay' @@ -123,6 +146,10 @@ parameters: - 'DarkMatter' - 'DarkMatterNoLabels' - 'DarkMatterOnlyLabels' + - 'Voyager' + - 'VoyagerNoLabels' + - 'VoyagerOnlyLabels' + - 'VoyagerLabelsUnder' HikeBike: variants: @@ -155,3 +182,20 @@ parameters: - 'ModisTerraChlorophyll' NLS: [] + + Wikimedia: [] + + GeoportailFrance: + variants: + - 'parcels' + - 'ignMaps' + - 'maps' + - 'orthos' + + OneMapSG: + variants: + - 'Default' + - 'Night' + - 'Original' + - 'Grey' + - 'LandLot'