---
title: "create a marker · RUAL Documentation"
description: "Creates a marker on the given map"
canonical: https://docs.rual.nl/block-types/google%20maps/uicomponent_googlemaps_set_marker
language: en
---

[Cluster](https://docs.rual.nl/cluster)

[Blocks](https://docs.rual.nl/block-types)

[Interfaces](https://docs.rual.nl/interfaces)

[Blueprints](https://docs.rual.nl/blueprints)

[Tutorials](https://docs.rual.nl/tutorials)

[Home automation](https://docs.rual.nl/home-automation)

[Examples](https://docs.rual.nl/examples)

[Reference](https://docs.rual.nl/reference)

[Architecture](https://docs.rual.nl/architecture)

[Troubleshooting](https://docs.rual.nl/troubleshooting)

Other

# create a marker

This block is part of the [`google maps`](https://docs.rual.nl/block-types/google%20maps) group and was last modified in core [`v13.0.2`](https://docs.rual.nl/core-versions/130002).

Creates a marker on the given map

- flow `flow`

- Selector `value` Selector to be used when this outlet is used multiple times within the current page.

- id required `value` The ID to reference this marker, updates the marker if the ID already exists.

- lat required `number`

- lng required `number`

- label `value` A marker label is a single character of text which will appear inside the marker.

Default `none`

- icon `value` A predefined marker symbol. Options: BACKWARD_CLOSED_ARROW, BACKWARD_OPEN_ARROW, CIRCLE, FORWARD_CLOSED_ARROW, FORWARD_OPEN_ARROW

Default `CIRCLE`

- scale `number` The amount by which the symbol is scaled in size.

Default `1`

- color `value` The symbol's fill color. All CSS3 colors are supported.

Default `black (#000)`

- opacity `number` Number between 0.0 (not visible) and 1.0 (visible).

- animation `value` Options: BOUNCE | DROP

- Event `clickevent`

- out_flow `flow`

## Version history

Introduced in [`v13.0.2`](https://docs.rual.nl/core-versions/130002).

Deprecated since [`v13.0.2`](https://docs.rual.nl/core-versions/130002).

- [Back to `google maps`](https://docs.rual.nl/block-types/google%20maps): Return to the main group to view all sub-groups

- [Back to `Google maps`](https://docs.rual.nl/block-types/google%20maps?group=Google%20maps): Return to the group to view all blocks within this group

Was this page helpful? [Tell us what to improve](https://docs.rual.nl/support) · RUAL Docs is an integral component of the [RUAL ecosystem](https://rual.nl)
