← Back to documentation
Map
A map that uses tiles from OpenStreetMap by default.
Information
Plan: Pro
Properties
| Property | Type | Default |
|---|---|---|
| Center - Latitude | number | 12.999911968422987 |
| Center - Longitude | number | 55.60930927366408 |
| Center - Popup content | string | "" |
| Scroll wheel zoom | boolean | true |
| Zoom | number | 10 |
| Attribution | string | "© <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors" |
| URL | string | "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" |
| Border width | string | "5px" |
| Border color | string | "var(--pc-semantic-border-secondary)" |
| Border radius | string | "8px" |
| Box shadow | string | "var(--pc-semantic-shadow-sm)" |
| Background color | string | "var(--pc-semantic-surface-base)" |
| Border width | string | "1px" |
| Border color | string | "var(--pc-semantic-border-default)" |
| Border radius | string | "4px" |
| Box shadow | string | "var(--pc-semantic-shadow-sm)" |
| Background color | string | "transparent" |
| Background color - Hover | string | "transparent" |
| Background color - Selected | string | "var(--pc-semantic-interactive-primary)" |
| Background color - Selected - Hover | string | "var(--pc-semantic-interactive-primary-hover)" |
| Border width | string | "1px" |
| Border color | string | "transparent" |
| Border color - Hover | string | "transparent" |
| Border color - Selected | string | "transparent" |
| Border color | string | "transparent" |
| Border radius | string | "4px" |
| Color | string | "var(--pc-semantic-text-primary)" |
| Color - Hover | string | "var(--pc-semantic-interactive-primary)" |
| Color - Selected | string | "var(--pc-semantic-text-inverse)" |
| Color - Selected - Hover | string | "var(--pc-semantic-text-inverse)" |
| Width | string | "100%" |
| Minimum width | string | "0px" |
| Maximum width | string | "none" |
| Height | string | "400px" |
| Minimum height | string | "0px" |
| Maximum height | string | "none" |
| Gap | string | "1rem" |
| Padding | string | "1rem" |
| Gap | string | "1rem" |
| Selectors | array | [] |
| Requires consent | array | "functional" |