Skip to content

Big-Silver/React-Mapbox-RoundTrip

Repository files navigation

React Deck-GL

This is a minimal standalone version of the TripsLayer example on deck.gl website and has roundtrip.

Demo

I customized this project so you can deploy to heroku easily if you want.

Install and Run

Copy the content of this folder to your project. Run

- Clone
git clone https://github.com/Big-Silver/react-mapbox-roundTrip
- Setup
npm install
- Run
npm run webpack-start  // webpack server - local
npm start  // node server.js - heroku

Data format

Sample data is stored in deck.gl Example Data. To use your own data, checkout the documentation of TripsLayer.