Skip to Content
Notion UI

Routes

Render line routes from coordinate arrays.

Map Route

<MapRoute coordinates={coordinates} color="#ef4444" width={5} />

Installation

pnpm add @notion-kit/map

API Reference

MapRoute

Renders a LineString GeoJSON source and a MapLibre line layer from an array of coordinates.

Prop

Type

On this page