---
title: "staticMaps | 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 staticMaps`Const`

staticMaps: {  
    automatic: typeof [automatic](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.automatic/);  
    bounded: typeof [bounded](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.bounded/);  
    centered: typeof [centered](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.centered/);  
}

The **staticMaps** namespace contains an synchronous function build image URL of static map, as specified by the [MapTiler Static Map API](https://docs.maptiler.com/cloud/api/static-maps/). The URL of static maps can then be used within a `<img />` markup element, as the `src` property value.

#### Type Declaration

-   ##### automatic: typeof [automatic](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.automatic/)
    
-   ##### bounded: typeof [bounded](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.bounded/)
    
-   ##### centered: typeof [centered](https://docs.maptiler.com/sdk-js/api-reference/functions/Externals.centered/)
