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

Options for `map.removeMarker()` and `map.removeMarkers()`.

type RemoveMarkerOptions \= {  
    [immediate](#immediate)?: boolean;  
}

##### Index

### Properties

[immediate?](#immediate)

## Properties

### `Optional`immediate[](#immediate)

immediate?: boolean

Removes the markers straight away, without playing their `exit` animation. Defaults to `false`.
