Instant Map

Instant Map / Cards

Cards that look like they belong to your site.

Click a marker and a card opens. Start with the built-in one, restyle it with a few CSS properties, or hand over your own markup. Click any price on the maps below.

Photos that are ready when the card opens

For the quickest photos, serve them about 560 px wide (the card is 264 px), in WebP or AVIF, with long cache headers.

Or build the card in code

Return any element from a function, including a component from your framework. Or turn cards off and send people straight to the page.

Cards guide

JavaScript

// Any element, from any framework.
map.popup = (marker) => {
  const card = document.createElement("listing-card");
  card.listing = marker.data;
  return card;
};

// Or no card at all: go straight to the page.
map.popup = null;
map.addEventListener("markerclick", (event) => {
  location.href = event.detail.marker.href;
});