Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.06 KB

README.md

File metadata and controls

36 lines (24 loc) · 1.06 KB

Vessel route component

This component shows how to display the latest position of a vessel, identified by its imo, and its route to a target location (latitude, longitude)

Screen Shot 2019-06-19 at 10 23 05

Both the vessel position and the route to a target location are fetched from searoutes' APIs. Specifically:

To request a trial key, send an email to contact@searoutes.com.

Prerequisites

In addition to an API key from searoutes (see above), you need a token from mapbox to run this component.

Install

Install yarn

$ npm install --global yarn

Install application dependencies

$ yarn install

In ./demo/ create a config.js file, use template.config.js as a model.

Run

From the root directory of this repository run:

$ yarn start