Skip to main content

TourSnapshot

The app state a tour step's TourAdvance reads.

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

Signature​

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

interface TourSnapshot

Properties​

layersOn​

readonly layersOn: number;

How many data layers are on.

projection​

readonly projection: MapProjection;

Whether the map is flat or a globe.

surface​

readonly surface: SurfaceKind;

Which surface is open.

See also​

Source: packages/core/src/tour/tour.ts:20