GitPedia

Ol kit

Easy to use, open source React/Openlayers geospatial component toolkit.

From Bayer-Group·Updated June 13, 2026·View on GitHub·
·Archived

It will not receive any future updates or bug fixes. If you are using it, please consider using the latest offerings from [OpenLayers](https://openlayers.org/) and other related [Libraries](https://openlayers.org/3rd-party/). The project is written primarily in JavaScript, distributed under the Other license, first published in 2020. Key topics include: bayer, components, deprecated, geospatial, maps.

Latest release: v1.20.01.20.0
December 23, 2021View Changelog →

DEPRECATED.

THIS PROJECT IS NO LONGER BEING MAINTAINED.

It will not receive any future updates or bug fixes.
If you are using it, please consider using the latest offerings from OpenLayers and other related Libraries.

ol-kit logo

npm version

An easy-to-use, open source React & OpenLayers map component toolkit.

Prebuilt Map Components

ol-kit logo

Installation

Install ol-kit and its peerDependencies

bash
npm i @bayer/ol-kit ol react react-dom styled-components @material-ui/core @material-ui/icons @material-ui/styles --save

Getting Started

It's easy to start building map apps with ol-kit. For simple projects, the following will get you started:

javascript
import React from 'react' import { Map, BasemapContainer, ContextMenu, Controls, LayerPanel, Popup, loadDataLayer } from '@bayer/ol-kit' class App extends React.Component { onMapInit = async map => { console.log('we got a map!', map) // nice to have map set on the window while debugging window.map = map // find a geojson or kml dataset (url or file) to load on the map const data = 'https://data.nasa.gov/api/geospatial/7zbq-j77a?method=export&format=KML' const dataLayer = await loadDataLayer(map, data) // set the title on the layer to show in LayerPanel dataLayer.set('title', 'NASA Data') console.log('data layer:', dataLayer) } render () { return ( <Map onMapInit={this.onMapInit} fullScreen> <BasemapContainer /> <ContextMenu /> <Controls /> <LayerPanel /> <Popup /> </Map> ) } } export default App

Running the Demo application locally

The code for the demo application lives in the app/ folder.

npm install
npm run app
# open your browser and go to localhost:2020

Bugs & Feature Requests

If you find a bug or think of a new feature, please submit a Github issue.

Maintainers & Contributions

The current maintainers are listed in MAINTAINERS.md. If you would like contribute to the project see CONTRIBUTING.md.

The ol-kit project was internally developed at Bayer Crop Science. Without the generous support of various stakeholders at Bayer, this project would never have become an open source reality. Thank you for the support, resources & final approval!

ol-kit logo

Contributors

Showing top 12 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from Bayer-Group/ol-kit via the GitHub API.Last fetched: 6/19/2026