From c6daa60d53b303eafb197c9c874e55904f959480 Mon Sep 17 00:00:00 2001 From: Holger Kreis Date: Wed, 6 Dec 2023 14:29:22 +0100 Subject: [PATCH] Add maptiler vector tiles (localhost only api-key) --- ...form_display.node.service_request.default.yml | 16 +++++++++++----- ...m_display.node.service_request.management.yml | 16 +++++++++++----- config/sync/markaspot_map.settings.yml | 13 +++++++------ 3 files changed, 29 insertions(+), 16 deletions(-) diff --git a/config/sync/core.entity_form_display.node.service_request.default.yml b/config/sync/core.entity_form_display.node.service_request.default.yml index f00870e9..13ee4080 100644 --- a/config/sync/core.entity_form_display.node.service_request.default.yml +++ b/config/sync/core.entity_form_display.node.service_request.default.yml @@ -93,21 +93,27 @@ content: region: content settings: zoom: '18' - center_lat: 40.73 - center_lng: -73.93 + center_lat: '40.73' + center_lng: '-73.93' limit_countrycodes: de limit_viewbox: '-74.379155587496,41.179155587496,-73.480844412504,40.280844412504' city: 'New York' set_address_field: '1' - tileServerUrl: 'https://stamen-tiles.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}.png' + tileServerUrl: '' wmsLayer: '' - customAttribution: 'Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under ODbL.' + mapboxToken: '' + mapboxStyle: 'https://api.maptiler.com/maps/dataviz/style.json?key=bNO6K7YHmiJ3kLeuhrOK' + maplibre: '1' + customAttribution: '© MapTiler © OpenStreetMap contributors' serviceUrl: 'https://nominatim.openstreetmap.org/' LocationIQToken: '' fullscreenControl: '1' streetNumberFormat: '1' + addressFormat: '${address.house_number}, ${address.road}, ${address.hamlet}, ${address.village}, ${address.suburb}, ${address.town}, ${address.city}, ${address.county}, ${address.postcode}' + dragging: '1' + tab: '1' autoLocate: 0 - limit_country_code: US + zoomControl: 0 third_party_settings: { } field_image: type: image_image diff --git a/config/sync/core.entity_form_display.node.service_request.management.yml b/config/sync/core.entity_form_display.node.service_request.management.yml index 1ab1d69b..b6765507 100644 --- a/config/sync/core.entity_form_display.node.service_request.management.yml +++ b/config/sync/core.entity_form_display.node.service_request.management.yml @@ -216,21 +216,27 @@ content: region: content settings: zoom: '18' - center_lat: 40.73 - center_lng: -73.93 + center_lat: '40.73' + center_lng: '-73.93' limit_countrycodes: de limit_viewbox: '-74.379155587496,41.179155587496,-73.480844412504,40.280844412504' city: 'New York' set_address_field: '1' - tileServerUrl: 'https://stamen-tiles.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}.png' + tileServerUrl: '' wmsLayer: '' - customAttribution: 'Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under ODbL.' + mapboxToken: '' + mapboxStyle: 'https://api.maptiler.com/maps/dataviz/style.json?key=8uaCajQ4MVBmAqzE578o' + maplibre: '1' + customAttribution: '© MapTiler © OpenStreetMap contributors' serviceUrl: 'https://nominatim.openstreetmap.org/' LocationIQToken: '' fullscreenControl: '1' streetNumberFormat: '1' + addressFormat: '${address.house_number}, ${address.road}, ${address.hamlet}, ${address.village}, ${address.suburb}, ${address.town}, ${address.city}, ${address.county}, ${address.postcode}' + dragging: '1' + tab: '1' autoLocate: 0 - limit_country_code: US + zoomControl: 0 third_party_settings: { } field_image: type: image_image diff --git a/config/sync/markaspot_map.settings.yml b/config/sync/markaspot_map.settings.yml index b883329e..96939732 100644 --- a/config/sync/markaspot_map.settings.yml +++ b/config/sync/markaspot_map.settings.yml @@ -1,21 +1,22 @@ -map_type: '1' +map_type: '0' mapbox: '' -osm_custom_tile_url: 'https://stamen-tiles-{s}.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}.png' -osm_custom_attribution: 'Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.' +osm_custom_tile_url: '' +osm_custom_attribution: '© MapTiler © OpenStreetMap contributors' map_background: '#ddd' timeline_date_format: 'ddd dd.mm.yy' timeline_period: P1D timeline_fps: '15' nid_selector: 'article ' zoom_initial: '15' -center_lat: 40.73 -center_lng: -73.93 +center_lat: '40.73' +center_lng: '-73.93' request_list_path: /requests visualization_path: /node/80 langcode: en wms_service: '' wms_layer: '' mapbox_token: '' -mapbox_style: '' +mapbox_style: 'https://api.maptiler.com/maps/dataviz/style.json?key=bNO6K7YHmiJ3kLeuhrOK' marker: "
\r\n
" iconAnchor: '[25, 30]' +maplibre: 1