Skip to content

Map

Embeds an interactive map centred on a geographic position.

Map.builder()
.position("39.5696005,2.6501603") // latitude,longitude
.zoom("14")
.build()
PropertyTypeDefaultDescription
positionStringGeographic coordinates as "latitude,longitude"
zoomStringZoom level (typically "1" to "20")
styleStringInline CSS — use to set height
cssClassesStringCSS class names
Map.builder()
.position("51.5074,-0.1278") // London
.zoom("12")
.style("height: 400px; width: 100%;")
.build()
ZoomRoughly shows
3Continent
8Region / county
12City
15Neighbourhood
18Street level