Map
Choose a location on a self-contained campus map and read its address.
ShowroomBuilding A · Ground floor
AtelierBuilding B · First floor
DispatchWest entrance · Loading bay
HTML
<figure class="rl-place-map" data-rl-place-map><figcaption><strong>Studio campus</strong><small>Rotterdam</small></figcaption><div class="rl-map-drawing" aria-label="Studio locations"><div class="rl-map-block rl-map-block-a"></div><div class="rl-map-block rl-map-block-b"></div><div class="rl-map-block rl-map-block-c"></div><button class="rl-map-pin" type="button" style="--pin-x:39%;--pin-y:27%" aria-label="Show Showroom" aria-pressed="true" data-place="showroom">1</button><button class="rl-map-pin" type="button" style="--pin-x:68%;--pin-y:50%" aria-label="Show Atelier" aria-pressed="false" data-place="atelier">2</button><button class="rl-map-pin" type="button" style="--pin-x:27%;--pin-y:73%" aria-label="Show Dispatch" aria-pressed="false" data-place="dispatch">3</button></div><div class="rl-map-caption"><div data-place-detail="showroom"><strong>Showroom</strong><small>Building A · Ground floor</small></div><div data-place-detail="atelier" hidden><strong>Atelier</strong><small>Building B · First floor</small></div><div data-place-detail="dispatch" hidden><strong>Dispatch</strong><small>West entrance · Loading bay</small></div><output class="rl-collection-sr" aria-live="polite"></output></div></figure>The illustrated plan uses local CSS and labelled pins, so it can work offline.
Use in your app
Copy these tags into your page head once. Serve the files at the paths shown, then add the example’s template to your page.
Page assets
<link rel="stylesheet" href="/mero.css">
<link rel="stylesheet" href="/mero-collections.css">
<script defer src="/mero.js"></script>
<script defer src="/mero-collections.js"></script>