This library is no longer maintained as it was integrated into react-spatial. Please consider using react-spatial instead.
This library provides React components to visualize real-time geographical information based on OpenLayers.
Documentation and examples at https://react-transit.geops.de.
Install the react-transit package:
yarn add ol react-transit
Your build pipeline needs to support ES6 modules and SASS.
Import the main scss file in your project:
import 'react-transit/themes/default/index.scss';
Please use the GitHub issue tracker for all bugs and feature requests. Before creating a new issue, do a quick search to see if the problem has been reported already.