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/mapsIncludes
- The
InteractiveRegionsMapcomponent family. - Journey-specific UI such as
MapJourney,JourneyCallout,JourneyControls, andJourneyStepList. - Geo helpers such as
arcPath,latlngToSvg,svgToLatlng, andsvgCoordsToViewportPx. - City helpers such as
CITIES,getCityById,getCapitals, andgetCitiesForCountry.