@nextgis/react-ngw-maplibre-gl
v2.4.1
Published
React NextGIS Web map component for Maplibre GL JS
Downloads
215
Readme
ReactNgwMaplibreGL
Plugin to integrate NextGIS Web maps into React with Maplibre GL JS adapter
Installation
npm install maplibre-gl @nextgis/react-ngw-maplibre-gl
Usage
import React from 'react';
import { render } from 'react-dom';
import ReactNgwMap from '@nextgis/react-ngw-maplibre-gl';
function App() {
return (
<ReactNgwMap
baseUrl="https://demo.nextgis.com"
resources={[{ resource: 6118, id: 'webmap', fit: true }]}
/>
);
}
render(<App />, document.getElementById('app'));
Commercial support
Need to fix a bug or add a feature to @nextgis/react-ngw-maplibre-gl
? We provide custom development and support for this software. Contact us to discuss options!