@terrestris/react-geo

A set of geo related modules. To use in combination with react, antd and ol.


Keywords
react, antd, geo, mapping, cartography, openlayers, ol, ant-design, hacktoberfest, typescript
License
BSD-2-Clause
Install
npm install @terrestris/react-geo@13.0.4

Documentation

react-geo

npm version GitHub license Coverage Status GitHub action build Known Vulnerabilities PRs Welcome

react-geo is a JavaScript library providing a large number of components to build modern mapping applications. It is used in combination with React, OpenLayers and Ant Design.

Installation

npm i --save @terrestris/react-geo

Usage

For a full list of available components, their properties and examples see here.

TypeScript

The react-geo package includes TypeScript declarations as *.d.ts files. The build itself is included in ESM format (currently ES2022).

Styling

react-geo supports dynamic theming via CSS variables and requires the following import inside your project.

@import '~antd/dist/antd.variable.min.css';

Workshop

For a comprehensive introduction into the usage of react-geo you might want to have a look at our tutorial.

Starter application

Also don't miss the create-react-geo-app (CRGA) to quickly create a fully working web-mapping application based on react-geo.

Contribution

Contributions are much appreciated! 🥳

Read the hints for developers to get started. We look forward to your contributions!

License

react-geo is released under the BSD 2-Clause license. Please see the file LICENSE in the root of this repository for more details.