---
title: "map · RUAL Documentation"
description: "Basic Map"
canonical: https://docs.rual.nl/block-types/Component%20UI/component_mapbox_map
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

# map

This block is part of the [`Component UI`](https://docs.rual.nl/block-types/Component%20UI) group and was last modified in core [`v10.4.28`](https://docs.rual.nl/core-versions/100428).

Basic Map

- Token required `value` Enter the mapbox token

- Map Style required `value` Select which map style you want

- Latitude required `value` The default center latitude location

- Longitude required `value` The default center longitude location

- Zoom required `number` The default zoom level

- Pitch `number` The pitch level in degrees

- Bearing `number` The bearing level in degrees

- User location control `condition` When true, it shows an icon in the top right corner to shows the live location of the user in the map with a small blue dot

- Disable dragging `condition` When true, the map cannot be dragged to pan

- Disable pitching `condition` When true, the user cannot pitch the map

- MinZoom `number` The minimum zoom level (0-24)

- MaxZoom `number` The maximum zoom level (0-24)

- Zoom on center instead of mouse pos `condition` When true, the user is only able to zoom on the center point. Not the mouse position

- uicomponent `uicomponent`

A typical wiring for [map](https://docs.rual.nl/block-types/Component%2520UI/component_mapbox_map): [value](https://docs.rual.nl/block-types/value/value_default) feeds the `co-token` pin; [value](https://docs.rual.nl/block-types/value/value_default) feeds the `co-style` pin; [value](https://docs.rual.nl/block-types/value/value_default) feeds the `co-latitude` pin; [value](https://docs.rual.nl/block-types/value/value_default) feeds the `co-longitude` pin; [number](https://docs.rual.nl/block-types/number/number_default) feeds the `co-zoom` pin; the `uicomponent` out pin feeds [build PDF](https://docs.rual.nl/block-types/files/file_generate_pdf).

[![Studio canvas example for the map block: typical wiring for map.](https://docs.rual.nl/canvas-examples/component_mapbox_map.png)](https://docs.rual.nl/canvas-examples/component_mapbox_map.png?v=3)

## Version history

Introduced in [`v10.4.28`](https://docs.rual.nl/core-versions/100428).

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

- [Back to `mapbox`](https://docs.rual.nl/block-types/Component%20UI?group=mapbox): 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)
