From 7114d0a6fd25b00cc7d68e1d296293ccd3e1d0aa Mon Sep 17 00:00:00 2001 From: doxa-maps Date: Mon, 28 Sep 2026 17:11:58 +0000 Subject: [PATCH] Maps default to MapLibre (keyless); Mapbox by NUXT_PUBLIC_MAP_PROVIDER=mapbox with a token --- .env.example | 3 +++ app/components/DoxaMapSlot.vue | 7 +++++-- app/pages/embed-test.vue | 5 +++-- app/pages/research/index.vue | 6 +++--- app/utils/mapProvider.ts | 8 ++++++++ nuxt.config.ts | 2 ++ 6 files changed, 24 insertions(+), 7 deletions(-) create mode 100644 app/utils/mapProvider.ts diff --git a/.env.example b/.env.example index 70872854..f00f4473 100644 --- a/.env.example +++ b/.env.example @@ -90,3 +90,6 @@ MCP_LAYER_PATH= # MCP server identity advertised in the `initialize` response. MCP_SERVER_NAME=marketing-rebuild MCP_SERVER_VERSION=1.0.0 + +# The map engine for every map: maplibre (keyless, the default) or mapbox (needs NUXT_PUBLIC_MAPBOX_TOKEN). +# NUXT_PUBLIC_MAP_PROVIDER=maplibre diff --git a/app/components/DoxaMapSlot.vue b/app/components/DoxaMapSlot.vue index 754638e5..d77e6692 100644 --- a/app/components/DoxaMapSlot.vue +++ b/app/components/DoxaMapSlot.vue @@ -1,4 +1,5 @@