Map

The Map component provides a reusable pattern for displaying maps in the interface.

Basic OpenStreetMap map

Default map centered on Helsingborg using the OpenStreetMap provider.

Map with markers and popup content

Shows multiple markers with custom icons, colors, and popup content using the markers parameter.

Dark styled map

Demonstrates the dark mapStyle variant while keeping the OpenStreetMap provider.

Compact map with custom height

Uses a smaller height and a closer zoom level to fit map content in tighter layouts.

API

Parameter Default Type Description
56.046467 integer|float -
12.694512 integer|float -
11 integer -
default string -
600px string -
[] array -
openstreetmap string -

CSS API

Variable Default Type Values Description
var(--base) range - Main unit that drives radius and spacing scales.