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

# Variable Touch

Touch: { prototype: [Touch](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Touch/); new (touchInitDict: [TouchInit](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.TouchInit/)): [Touch](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Touch/) }

#### Type Declaration

-   -   new (touchInitDict: [TouchInit](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.TouchInit/)): [Touch](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Touch/)
    -   #### Parameters
        
        -   touchInitDict: [TouchInit](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.TouchInit/)
        
        #### Returns [Touch](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Touch/)
        
-   ##### prototype: [Touch](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.Touch/)
