Skip to content

Map Providers ​

ChronoFrame supports two types of map providers. You can choose the one that best fits your needs.

ProviderSupportedExtra ConfigurationFeatures
MapLibre✅MapTiler Access TokenFree and open-source, supports custom styles
Mapbox✅Mapbox Access TokenFree tier, better renderer performance

MapLibre ​

To use MapLibre as the map provider, you need a MapTiler Access Token.

bash
NUXT_PUBLIC_MAP_PROVIDER=maplibre
NUXT_PUBLIC_MAP_MAPLIBRE_TOKEN=your_maplibre_access_token

Custom Styles ​

bash
# ChronoFrame comes with built-in light and dark styles that switch automatically.
# If you configure a custom style, it will override the default styles.
# Example: https://demotiles.maplibre.org/globe.json
NUXT_PUBLIC_MAP_MAPLIBRE_STYLE=

Mapbox ​

To use Mapbox as the map provider, you will need a Mapbox Access Token.

bash
NUXT_PUBLIC_MAP_PROVIDER=mapbox
NUXT_PUBLIC_MAPBOX_ACCESS_TOKEN=your_mapbox_access_token

Custom Styles ​

bash
# If you configure a custom style, it will override the default styles.
# Example: mapbox://styles/mapbox/streets-v11
NUXT_PUBLIC_MAP_MAPBOX_STYLE=

Released under the MIT License.