Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://visgl.github.io/react-maplibre/

React wrapper for Maplibre GL JS
https://visgl.github.io/react-maplibre/

Last synced: about 2 months ago
JSON representation

React wrapper for Maplibre GL JS

Awesome Lists containing this project

README

        



version


build

downloads

react-maplibre | Docs

`@vis.gl/react-maplibre` is a suite of [React](http://facebook.github.io/react/) components designed to provide a React API for [maplibre-gl](https://maplibre.org/maplibre-gl-js-docs/api/). More information in the online documentation.

See our [Design Philosophy](docs/README.md#design-philosophy).

### Installation

Using this package requires `react >= 16.3` and `maplibre-gl >= 4.0.0`.

```sh
npm install @vis.gl/react-maplibre maplibre-gl
```

### Example

```js
import * as React from 'react';
import {Map} from '@vis.gl/react-maplibre';
import 'maplibre-gl/dist/maplibre-gl.css';

function App() {
return ;
}
```

### Contribute

See [contribution guide](/CONTRIBUTING.md).

### Attributions

react-maplibre is part of vis.gl, an [OpenJS Foundation](https://openjsf.org) project.