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

UIStateSpec: [Partial](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.Partial/)<[MapTilerMarkerElementProps](https://docs.maptiler.com/sdk-js/api-reference/types/MapTilerMarkerElementProps/)\>

Property overrides applied while a UI state is active. Keys are any settable marker property (e.g. `shape`, `opacity`, `scale`).
