High Command
LibraryTemplatesGet startedPricing
Get Pro · $79

Guide

Browse everythingGetting startedThemingYour data

Site

HomeTemplatesPricingChangelog

Templates 4

Command centerProFleetProCustomer trackingProField servicePro

Ops and shell 9

App shellProOps modelProAttention queueProMorning briefProShift handoverProLane panelProOwn-fleet partsProAgent action barProCustomizable dashboardPro

Map 17

PMTiles basemapPMTiles routeTrip hologramProBasemap styleMap geometryMapLand texture and dot lensProException heatmap and risk contoursProLane arcsProShipment layerOwn fleet layerProFleet map layersCurated place labels and sitesRoute traceEdge chipsProMap key, filters and paddingMap kitPro

Time and trips 11

Time and trip modelsEvent fieldProIn-transit rowsProImpact lineProActivity barProReplay clockTime controlPlayback overlayProTrip timetableProStage rowWeek cursorPro

Figures, charts and tables 14

Sourced valueKey-figure tileFigure groupPart barBand sparklineKPI stripProChart kitPop barWaterfall cascadeMargin chartsPro13-week cash ladderProWork tableProField railProHorizon gridPro

Zones and dispatch 10

Zones modelDispatch modelProGeofence layerGeofence eventsGeofence drawProService ringsDensity heatmapJob queueProAssign dialogProStop listPro

Design system 3

ThemeShared helpersUI primitives

Routing 3

Offline road routerAustin road graphAustin areas

Libraries 2

Fleet coreRoute core
High Command

Map, fleet and ops-console components for React. Built in-house, copied into your app with the shadcn CLI.

Product

  • Library
  • Templates
  • Pricing
  • Changelog

Build

  • Get started
  • Accessibility
  • Trip hologram

Templates

  • Command center
  • Fleet
  • Field service

New pieces by email. A short note when a release lands.

One email per release. Unsubscribe any time.

© 2026 High Command Pro licenseTermsPrivacyRefundsMap data © OpenStreetMap contributors · OpenFreeMap
Library/Map

Basemap style

High Command's dark/light basemap style over OpenFreeMap (free, keyless, worldwide) or a self-hosted Overture PMTiles archive; curated place labels; provider adapters.

Free · MITLibrary@highcommand/basemap6 files
See it in context
OpenFreeMap vector tiles · no API key
landwaterparkmotorwayminor roadlabel
Customize

Installation

$ npx shadcn@latest add @highcommand/basemap

Copies the source into your project and pulls in what it needs. First time? Add the registry to components.json.

API

9 functions
  • createBasemapStyle(opts: BasemapStyleOptions): StyleSpecification

    High Command's basemap style (dark or light) over either tile schema.

  • haversineKm(a: { lat: number; lng: number; }, b: { lat: number; lng: number; }): number

    Great-circle distance in km.

  • networkPlaces(tenant: readonly TenantPlace[], opts?: { matchKm?: number | undefined; curated?: readonly CuratedPlace[] | undefined; }): PlaceLabel[]

    Curated places plus the tenant's own. A tenant place within `matchKm` of a curated one is that place (the curated name and kind win, and it is promoted to at least tier 2); otherwise it becomes its own label (tier 2 for a site or a shipment end, tier 3 for an account address), nearby tenant places of the same name collapsing into one.

  • placeLabelsGeoJSON(labels: readonly PlaceLabel[]): { type: "FeatureCollection"; features: { type: "Feature"; properties: { code?: string | undefined; name: string; kind: PlaceKind; tier: PlaceTier; tenant: boolean; minzoom: number; rank:…

    The labels as GeoJSON points, ready for a MapLibre source. `rank` orders collisions: lower wins (tenant first, then tier).

  • countryLabelsGeoJSON(countries?: readonly CountryLabel[]): { type: "FeatureCollection"; features: { type: "Feature"; properties: { name: string; }; geometry: { type: "Point"; coordinates: [number, number]; }; }[]; }

    Country names as GeoJSON points for a MapLibre source (default: the built-in COUNTRY_LABELS).

  • registerPmtilesProtocol(maplibre: MaplibreLike): Protocol

    Registers the `pmtiles://` protocol with maplibre-gl once; returns the shared Protocol instance.

  • openFreeMap(opts?: { tilesUrl?: string | undefined; buildings?: boolean | undefined; }): BasemapProvider

    The default: OpenFreeMap's planet (OpenMapTiles schema) in High Command's palette. Free, no key, no sign-up, worldwide; provided as-is with no SLA, so a production app with heavy traffic should self-host (OpenFreeMap publishes its whole stack) or use another OpenMapTiles host.

  • selfHostedPmtiles(url: string, opts?: { buildings?: boolean | undefined; schema?: BasemapSchema | undefined; }): BasemapProvider

    One PMTiles file served by your own app over HTTP range requests (the kit's /api/tiles/[file] route); works offline. `schema` is the archive's: High Command's own Overture build ("overture", the default here) or an OpenMapTiles build (planetiler, OpenFreeMap's).

  • vectorTileProvider(cfg: VectorTileProviderConfig): BasemapProvider

    Commercial provider adapter (URL + key from your server config). With `styleUrl`, the vendor style is used as-is (light/dark via the {theme} placeholder). With `tilesUrl`, High Command's own styles are drawn over the vendor's tiles - only valid if the vendor serves the OpenMapTiles schema (most do) or High Command's Overture schema; otherwise use `styleUrl`.

Dependencies

npm
maplibre-glpmtiles
Builds on
Nothing else in the kit
Used by
MapCurated place labels and sites
Pro pieces built on this
Command center Pro

Install this free piece now; the Pro pieces drop in on top of it, in the same app. Pro is $79 once.

PreviousTrip hologramNext Map geometry

On this page

PreviewInstallationAPIDependencies