threebox-mapboxgl-svelte-example Svelte Themes

Threebox Mapboxgl Svelte Example

An example for setting up Threebox, Mapboxgl(v1.11.1) and Svelte into a functioning app.

Based on svelte basic template https://github.com/sveltejs/template

First replace YOUR_KEY with your maptiler key in public/data/osm-liberty.json

Then Use with:

npm install

npm run dev

Hint:

set the format in rollup.config.js to 'cjs' instead of 'iffe' for more stability - i guess.

Top categories

Loading Svelte Themes