Skip to content
This repository has been archived by the owner on Apr 3, 2021. It is now read-only.
/ Launchpad Public archive

[DEPRECATED] A cargo bike routing client using Mapbox GL Directionsan and custom Graphhopper routing service.

License

Notifications You must be signed in to change notification settings

CargoRocket/Launchpad

Repository files navigation

Logo

[DEPRECATED] CargoRocket Launchpad

This prototype was developed during MobiData BW Hackathon 2020 and is no longer maintained or up to date. It will be replaced by our new CargoRocket App/Backend which is developed during our 3 month funding phase.

A cargo bike routing client using Mapbox GL Directionsan and custom graphhopper routing service.

Usage

var mapboxgl = require('mapbox-gl');
var MapboxDirections = require('@mapbox/mapbox-gl-directions');

var directions = new MapboxDirections({
  accessToken: 'YOUR-MAPBOX-ACCESS-TOKEN',
  unit: 'metric',
  profile: 'mapbox/cycling'
});

var map = new mapboxgl.Map({
  container: 'map',
  style: 'mapbox://styles/mapbox/streets-v9'
});

map.addControl(directions, 'top-left');

Live example: https://launchpad.xatellite.io

About

[DEPRECATED] A cargo bike routing client using Mapbox GL Directionsan and custom Graphhopper routing service.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published