# TourSnapshot

The app state a tour step's [`TourAdvance`](https://docs.mapcairn.com/api/core/TourAdvance.md) reads.

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

## Signature

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

## Properties

### layersOn

```ts
readonly layersOn: number;
```

How many data layers are on.

### projection

```ts
readonly projection: MapProjection;
```

Whether the map is flat or a globe.

### surface

```ts
readonly surface: SurfaceKind;
```

Which surface is open.

## See also

- [`MapProjection`](https://docs.mapcairn.com/api/core/MapProjection.md)
- [`SurfaceKind`](https://docs.mapcairn.com/api/core/SurfaceKind.md)

Source: [packages/core/src/tour/tour.ts:20](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/tour/tour.ts#L20)
