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

# Type Alias LngLatBoundsLike

LngLatBoundsLike:  
    | [LngLatBounds](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.LngLatBounds/)  
    | \[[LngLatLike](https://docs.maptiler.com/sdk-js/api-reference/types/LngLatLike/), [LngLatLike](https://docs.maptiler.com/sdk-js/api-reference/types/LngLatLike/)\]  
    | \[number, number, number, number\]

A [LngLatBounds](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.LngLatBounds/) object, an array of [LngLatLike](https://docs.maptiler.com/sdk-js/api-reference/types/LngLatLike/) objects in \[sw, ne\] order, or an array of numbers in \[west, south, east, north\] order.

#### Example[](#example)

```typescript
let v1 = new LngLatBounds(
  new LngLat(-73.9876, 40.7661),
  new LngLat(-73.9397, 40.8002)
);
let v2 = new LngLatBounds([-73.9876, 40.7661], [-73.9397, 40.8002])
let v3 = [[-73.9876, 40.7661], [-73.9397, 40.8002]];
```
