MapLibreMapAdapterOptions
Options for createMapLibreMapAdapter.
This is an interface exported by @mapcairn/adapter-maplibre, checked against version 0.2.0.
Signature
import type { MapLibreMapAdapterOptions } from "@mapcairn/adapter-maplibre";
interface MapLibreMapAdapterOptions
Properties
loadWorkerUrl
readonly loadWorkerUrl: () => Promise<string>;
Resolves to the URL of the engine's worker script, as the host serves it. Called when the first map mounts, never before, so the host can import the worker lazily. A host that caches the worker for a long time puts a key that names its Content Security Policy in the URL.
Source: packages/adapter-maplibre/src/MapLibreMapAdapter.ts:63