https://github.com/geops/react-spatial
Components to build React map apps
https://github.com/geops/react-spatial
openlayers react reactjs reactjs-components spatial
Last synced: 9 months ago
JSON representation
Components to build React map apps
- Host: GitHub
- URL: https://github.com/geops/react-spatial
- Owner: geops
- License: mit
- Created: 2019-01-10T08:07:25.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-12-09T10:27:48.000Z (about 1 year ago)
- Last Synced: 2025-03-31T15:46:48.600Z (10 months ago)
- Topics: openlayers, react, reactjs, reactjs-components, spatial
- Language: JavaScript
- Homepage: https://react-spatial.geops.io
- Size: 10.6 MB
- Stars: 50
- Watchers: 9
- Forks: 14
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# react-spatial
[](https://www.npmjs.com/package/react-spatial)
[](https://github.com/geops/react-spatial/actions?query=workflow%3Amain)
[](https://github.com/prettier/prettier)

This library provides React components to build web applications and to visualize real-time geographical information based on [OpenLayers](https://openlayers.org/) and [Malibre GL](https://maplibre.org/maplibre-gl-js/).
This library uses the [mobility-toolbox-js](https://mobility-toolbox-js.geops.io/) library.
Documentation and examples at https://react-spatial.geops.io.
## Getting Started
Install the [react-spatial](https://www.npmjs.com/package/react-spatial) package:
```bash
yarn add mobility-toolbox-js mapbox-gl mapblibre-gl ol react-spatial
```
Your build pipeline needs to support ES6 modules and SASS.
Import the main scss file in your project:
```bash
import 'react-spatial/themes/default/index.scss';
```
## More
- [Development](https://github.com/geops/react-spatial/tree/master/DEVELOP.md)
- [Components](https://github.com/geops/react-spatial/tree/master/src/components)
- [Themes](https://github.com/geops/react-spatial/tree/master/src/themes)
## Bugs
Please use the [GitHub issue tracker](https://github.com/geops/react-spatial/issues) for all bugs and feature requests. Before creating a new issue, do a quick search to see if the problem has been reported already.