Skip to Content
Notion UI

Popups

Anchored popup content for map coordinates or marker interactions.

Map Popup

<MapPopup longitude={121.5654} latitude={25.033} closeButton>
  Taipei 101
</MapPopup>

Installation

pnpm add @notion-kit/map

API Reference

MapPopup

Creates a popup anchored to map coordinates and renders React content into the MapLibre popup container.

MapPopup extends MapLibre PopupOptions.

Prop

Type

MapPopupClose

Renders the close button used inside coordinate popups and marker popups. You usually get it by passing closeButton, but it can be used directly in custom popup content.

Prop

Type

On this page