@nextgis/react-ngw-ol
TypeScript icon, indicating that this package has built-in type declarations

3.0.0-alpha.7 • Public • Published

ReactNgwOl

size version

Plugin to integrate NGW maps into React with OpenLayers adapter

Installation

npm install ol @nextgis/react-ngw-ol

Usage

import React from 'react';
import { render } from 'react-dom';
import ReactNgwMap from '@nextgis/react-ngw-ol';

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-ol? We provide custom development and support for this software. Contact us to discuss options!

http://nextgis.com

/@nextgis/react-ngw-ol/

    Package Sidebar

    Install

    npm i @nextgis/react-ngw-ol

    Weekly Downloads

    90

    Version

    3.0.0-alpha.7

    License

    MIT

    Unpacked Size

    7.53 kB

    Total Files

    9

    Last publish

    Collaborators

    • rendrom
    • maximdubinin
    • karavanjo