Map
The Map shows a location based on coordinates, a Formula, GeoJSON layers, or Solar data. Use it when visitors need to see a place on a map, for example a service area, a route area, or a solar configurator.
Properties
The properties live in the inspector under the Map group.
Property | What it does | Default |
|---|---|---|
Latitude | Latitude of the map center | 52.3736712 |
Longitude | Longitude of the map center | 4.8951131 |
Initial zoom level | Zoom level the map starts at | 13 |
Show marker | Shows a marker at the map center | On |
Layers | GeoJSON layers drawn on the map, each with a File and a Formula | None |
Panels formula | Formula that generates map markers | None |
Marker icon | Image asset used for the marker | None |
Latitude, Longitude, Initial zoom level, and Panels formula accept a number or a formula. The Map has no "Go to next view when answered" property.
References
References expose the visitor's answer as data you can use in formulas and other elements. The Map has no references, so it does not expose any data. In the Document editor there is no Logic or References group, and in a PDF the map is shown as a placeholder image.
Styling
The Map can be styled per state and per part of the element.
Style state: Default.
Named targets: wrapper, map.
The map target has a default override of map.height = 500px. There are no Document quick styles or named Map style set. Apply general styling from the Style tab: quick styles, style sets, and CSS overrides per state and per breakpoint. See the styling reference for the full system.
Related articles
UI Elements: overview of the elements.
FormulaScript Overview: using formulas in properties.