Add TomTom traffic proxy and update profiles for hillshade/traffic layers

- Add /api/traffic/flow proxy route to hide TomTom API key from frontend
- Add tileset_hillshade and traffic config blocks to all three profiles
- Flip has_hillshade and has_traffic_overlay flags in home and regional profiles
- Minimal profile has config blocks but flags remain false (dormant)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Matt 2026-04-21 00:52:04 +00:00
commit 64605b38bb
4 changed files with 51 additions and 4 deletions

View file

@ -11,6 +11,15 @@ tileset:
max_zoom: 15
attribution: "Protomaps © OSM"
tileset_hillshade:
url: "/tiles/hillshade-na.pmtiles"
encoding: "terrarium"
max_zoom: 12
traffic:
provider: "tomtom"
proxy_url: "/api/traffic/flow/{z}/{x}/{y}.png"
services:
geocode: "/api/geocode"
reverse: "/api/reverse"
@ -20,9 +29,9 @@ services:
features:
has_nominatim_details: false
has_kiwix_wiki: false
has_hillshade: false
has_hillshade: true
has_3d_terrain: false
has_traffic_overlay: false
has_traffic_overlay: true
has_landclass: false
has_address_book_write: false

View file

@ -11,6 +11,15 @@ tileset:
max_zoom: 15
attribution: "Protomaps © OSM"
tileset_hillshade:
url: "/tiles/hillshade-idaho.pmtiles"
encoding: "terrarium"
max_zoom: 12
traffic:
provider: "tomtom"
proxy_url: "/api/traffic/flow/{z}/{x}/{y}.png"
services:
geocode: "/api/geocode"
reverse: "/api/reverse"

View file

@ -11,6 +11,15 @@ tileset:
max_zoom: 15
attribution: "Protomaps © OSM"
tileset_hillshade:
url: "/tiles/hillshade-regional.pmtiles"
encoding: "terrarium"
max_zoom: 12
traffic:
provider: "tomtom"
proxy_url: "/api/traffic/flow/{z}/{x}/{y}.png"
services:
geocode: "/api/geocode"
reverse: "/api/reverse"
@ -22,7 +31,7 @@ features:
has_kiwix_wiki: false
has_hillshade: true
has_3d_terrain: false
has_traffic_overlay: false
has_traffic_overlay: true
has_landclass: true
has_address_book_write: true