---
title: "VisualViewport | 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 VisualViewport

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

#### Type Declaration

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