---
title: "NavigationActivation | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Interface NavigationActivation

The **`NavigationActivation`** interface of the Navigation API represents a recent cross-document navigation. It contains the navigation type and outgoing and inbound document history entries.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationActivation)

interface NavigationActivation {  
    [entry](#entry): [NavigationHistoryEntry](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.NavigationHistoryEntry/);  
    [from](#from): [NavigationHistoryEntry](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.NavigationHistoryEntry/) | null;  
    [navigationType](#navigationtype): [NavigationType](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.NavigationType/);  
}

##### Index

### Properties[](#properties)

[entry](#entry) [from](#from) [navigationType](#navigationtype)

## Properties[](#properties-1)

### `Readonly`entry[](#entry)

entry: [NavigationHistoryEntry](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.NavigationHistoryEntry/)

The **`entry`** read-only property of the NavigationActivation interface contains a NavigationHistoryEntry object representing the history entry for the inbound ("to") document in the navigation. This is equivalent to the Navigation.currentEntry property at the moment the inbound document was activated.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationActivation/entry)

### `Readonly`from[](#from)

from: [NavigationHistoryEntry](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.NavigationHistoryEntry/) | null

The **`from`** read-only property of the NavigationActivation interface contains a NavigationHistoryEntry object representing the history entry for the outgoing ("from") document in the navigation.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationActivation/from)

### `Readonly`navigationType[](#navigationtype)

navigationType: [NavigationType](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.NavigationType/)

The **`navigationType`** read-only property of the NavigationActivation interface contains a string indicating the type of navigation.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationActivation/navigationType)
