Skip to content

Commit

Permalink
Add maptiler vector tiles (localhost only api-key)
Browse files Browse the repository at this point in the history
  • Loading branch information
markaspot committed Dec 6, 2023
1 parent b9a4cb5 commit c6daa60
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="http://stamen.com">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>. Data by <a href="http://openstreetmap.org">OpenStreetMap</a>, under <a href="http://www.openstreetmap.org/copyright">ODbL</a>.'
mapboxToken: ''
mapboxStyle: 'https://api.maptiler.com/maps/dataviz/style.json?key=bNO6K7YHmiJ3kLeuhrOK'
maplibre: '1'
customAttribution: '© MapTiler</a> <a href="https://www.openstreetmap.org/copyright" target="_blank">© OpenStreetMap contributors</a>'
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="http://stamen.com">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>. Data by <a href="http://openstreetmap.org">OpenStreetMap</a>, under <a href="http://www.openstreetmap.org/copyright">ODbL</a>.'
mapboxToken: ''
mapboxStyle: 'https://api.maptiler.com/maps/dataviz/style.json?key=8uaCajQ4MVBmAqzE578o'
maplibre: '1'
customAttribution: '© MapTiler</a> <a href="https://www.openstreetmap.org/copyright" target="_blank">© OpenStreetMap contributors</a>'
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
Expand Down
13 changes: 7 additions & 6 deletions config/sync/markaspot_map.settings.yml
Original file line number Diff line number Diff line change
@@ -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 <a href="http://stamen.com">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>. Data by <a href="http://openstreetmap.org">OpenStreetMap</a>, under <a href="http://creativecommons.org/licenses/by-sa/3.0">CC BY SA</a>.'
osm_custom_tile_url: ''
osm_custom_attribution: '© MapTiler</a> <a href="https://www.openstreetmap.org/copyright" target="_blank">© OpenStreetMap contributors</a>'
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: "<div class=\"fa {mapIconSymbol}\" style=\"color: {mapIconColor}\"><svg class=\"icon\" width=\"50\" height=\"50\"\r\nxmlns=\"http://www.w3.org/2000/svg\" xml:space=\"preserve\" version=\"1.1\"><defs>\r\n<filter id=\"dropshadow\" height=\"130%\"><feDropShadow dx=\"-0.8\" dy=\"-0.8\" stdDeviation=\"2\"\r\n flood-color=\"black\" flood-opacity=\"0.5\"/></filter></defs><g><path filter=\"url(#dropshadow)\"\r\n fill=\"{mapIconFill}\" d=\"m25,2.55778c-7.27846,0 -15.7703,4.44805 -15.7703,15.7703c0,7.68272 12.13107,24.6661 15.7703,29.11415c3.23497,-4.44804 15.7703,-21.02687 15.7703,-29.11415c0,-11.32225 -8.49184,-15.7703 -15.7703,-15.7703z\"\r\n id=\"path4133\"/></g></svg></div>"
iconAnchor: '[25, 30]'
maplibre: 1

0 comments on commit c6daa60

Please sign in to comment.