FoundryKit

Maps

Interactive map components and geo utilities for FoundryKit.

Maps

@foundrykit/maps provides the interactive regions map stack used by FoundryKit blocks, along with supporting geo helpers and city data exports.

Install

pnpm add @foundrykit/maps

Includes

  • The InteractiveRegionsMap component family.
  • Journey-specific UI such as MapJourney, JourneyCallout, JourneyControls, and JourneyStepList.
  • Geo helpers such as arcPath, latlngToSvg, svgToLatlng, and svgCoordsToViewportPx.
  • City helpers such as CITIES, getCityById, getCapitals, and getCitiesForCountry.

On this page