
Company News
Socket Joins the OpenJS Foundation
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.
@terrestris/react-geo
Advanced tools
A set of geo related modules. To use in combination with react, antd and ol.
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.
npm i --save @terrestris/react-geo
For a full list of available components, their properties and examples see here.
The react-geo package includes TypeScript declarations as *.d.ts files. The build itself is included in ESM format (currently ES2022).
react-geo supports dynamic theming of the Toggle Button via the antd ConfigProvider.
import {ConfigProvider} from 'antd';
<ConfigProvider
theme={{
cssVar: true,
Component: {
Button: {
primaryActive: '#0958d9'
}
}
}}
>
//...
</ConfigProvider>
For a comprehensive introduction into the usage of react-geo you might want to have a look at our tutorial.
Also don't miss the create-react-geo-app (CRGA) to quickly create a fully working
web-mapping application based on react-geo.
Contributions are much appreciated! 🥳
Read the hints for developers to get started. We look forward to your contributions!
react-geo is released under the BSD 2-Clause license. Please see the file LICENSE in the root of this repository for more details.
FAQs
A set of geo related modules. To use in combination with react, antd and ol.
We found that @terrestris/react-geo demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 16 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.

Security News
A compromised npm publish token was used to push a malicious postinstall script in cline@2.3.0, affecting the popular AI coding agent CLI with 90k weekly downloads.