# MapLibreMapAdapterOptions

Options for [`createMapLibreMapAdapter`](https://docs.mapcairn.com/api/adapter-maplibre/createMapLibreMapAdapter.md).

This is an interface exported by `@mapcairn/adapter-maplibre`, checked against version 0.2.0.

## Signature

```ts
import type { MapLibreMapAdapterOptions } from "@mapcairn/adapter-maplibre";
 
interface MapLibreMapAdapterOptions
```

## Properties

### loadWorkerUrl

```ts
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](https://github.com/MapCairn/mapcairn/blob/main/packages/adapter-maplibre/src/MapLibreMapAdapter.ts#L63)
