Skip to content

Map (customblocks.generators.map)

Embeds a map for the specified location.

Currently, OSM services are used both for geolocation during generation time and and the embed in browsing time.

Options

location
The location to display in the map
marker/nomarker (bool, default True)
Whether to show or not the location with a marker
*args
Remaining positional arguments are added as class to the upper element
**kwds
Remaining keyword arguments are added as attributes to the upper element

Examples

::: map "City of London" nomarker
::: map "Lanteira"
::: map "Països catalans"
::: map "Germany"