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

# Interface DOMRectInit

interface DOMRectInit {  
    [height](#height)?: number;  
    [width](#width)?: number;  
    [x](#x)?: number;  
    [y](#y)?: number;  
}

##### Index

### Properties[](#properties)

[height?](#height) [width?](#width) [x?](#x) [y?](#y)

## Properties[](#properties-1)

### `Optional`height[](#height)

height?: number

### `Optional`width[](#width)

width?: number

### `Optional`x[](#x)

x?: number

### `Optional`y[](#y)

y?: number
