---
title: "HandlerInertia | 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.

# Class HandlerInertia

##### Index

### Constructors[](#constructors)

[constructor](#constructor)

### Methods[](#methods)

[clear](#clear) [record](#record)

## Constructors[](#constructors-1)

### constructor[](#constructor)

-   new HandlerInertia(map: [MapLibreMap](https://docs.maptiler.com/sdk-js/api-reference/classes/MapLibreMap/)): HandlerInertia[](#constructorhandlerinertia)
    
    #### Parameters
    
    -   map: [MapLibreMap](https://docs.maptiler.com/sdk-js/api-reference/classes/MapLibreMap/)
    
    #### Returns HandlerInertia
    

## Methods[](#methods-1)

### clear[](#clear)

-   clear(): void[](#clear-1)
    
    #### Returns void
    

### record[](#record)

-   record(settings: any): void[](#record-1)
    
    #### Parameters
    
    -   settings: any
    
    #### Returns void
