# TourAdvance

What finishes a tour step when the person does it.
- `layer-on`: more data layers are on than when the step began.
- `projection-changed`: the map shape differs from when the step began.
- `surface`: the named surface is open (for example `search`, which opens
 when the search field takes focus).

This is a type alias exported by `@mapcairn/core`, checked against version 0.2.0.

## Signature

```ts
import type { TourAdvance } from "@mapcairn/core";
 
type TourAdvance = {
    readonly kind: "layer-on";
} | {
    readonly kind: "projection-changed";
} | {
    readonly kind: "surface";
    readonly surface: SurfaceKind;
};
```

## See also

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

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