@nextgis/react-ngw-leaflet
v2.2.2
Published
React NGW map component for leaflet
Downloads
288
Readme
ReactNgwLeaflet
Plugin to integrate NGW maps into React with leaflet adapter
Installation
npm install leaflet @nextgis/react-ngw-leaflet
Usage
import React from 'react';
import { render } from 'react-dom';
import ReactNgwMap from '@nextgis/react-ngw-leaflet';
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-leaflet
? We provide custom development and support for this software. Contact us to discuss options!