Adapting the delivery tracker
Replace the sample order, pickup, drop-off, and progress values in data.ts. The route
is fetched in the browser from the public OSRM demonstration router and its GeoJSON is
drawn with MapRoute. Use an operational routing service or a self-hosted OSRM instance
for production traffic, then change buildRouteUrl to that endpoint.
This block uses the map component's default street basemap. The default is CARTO and its provider terms are separate from mapcn's MIT license. Configure an approved MapLibre-compatible style before commercial production.
