Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://visgl.github.io/react-maplibre/
- Owner: visgl
- License: mit
- Created: 2024-09-30T22:24:46.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-10-23T04:13:27.000Z (3 months ago)
- Last Synced: 2024-11-02T09:09:04.590Z (2 months ago)
- Language: TypeScript
- Size: 9.29 MB
- Stars: 22
- Watchers: 6
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-maplibre - react-maplibre - Design specifically for MapLibre, this package is planned to supersede react-map-gl. (Bindings / JavaScript)
README
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.