Skip to main content

MapMountOptions

Everything the adapter needs when it mounts.

This is an interface exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import type { MapMountOptions } from "@mapcairn/core";

interface MapMountOptions

Properties​

basemap​

readonly basemap: BasemapDefinition;

The basemap the map starts with.

projection​

readonly projection?: MapProjection;

The map's shape, kept through every later basemap swap. Defaults to "flat".

reducedMotion​

readonly reducedMotion: boolean;

When true, the engine's own animation (zoom, fade, fly, inertia) is off.

view​

readonly view: ViewState;

The view the map starts at.

See also​

Source: packages/core/src/ports/map.ts:34