mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-05 09:52:54 +00:00
embedding progress
This commit is contained in:
@@ -11,12 +11,13 @@
|
||||
import { settings } from '$lib/db';
|
||||
import { locale } from 'svelte-i18n';
|
||||
import { get } from 'svelte/store';
|
||||
import { mapboxAccessToken } from '$lib/assets/layers';
|
||||
|
||||
mapboxgl.accessToken = mapboxAccessToken;
|
||||
import { PUBLIC_MAPBOX_TOKEN } from '$env/static/public';
|
||||
|
||||
export let accessToken = PUBLIC_MAPBOX_TOKEN;
|
||||
export let geocoder = true;
|
||||
|
||||
mapboxgl.accessToken = accessToken;
|
||||
|
||||
let fitBoundsOptions: mapboxgl.FitBoundsOptions = {
|
||||
maxZoom: 15,
|
||||
linear: true,
|
||||
|
Reference in New Issue
Block a user