NextGIS Frontend
    Preparing search index...

    Module @nextgis/ngw-ol

    NgwOl

    size version

    Single-file bundle for rapid deployment of OpenLayers-based web-gis applications with NextGIS services

    Styles images and other assets are already in bundle, you don't need to include anything except one JS file!

    Simply download and include with a script tag, NgwOl and NgwMap will be registered as a global variable.

    <script src="../lib/ngw-ol.global.js"></script>

    <div id='map'></div>
    <script>
    // const ngwMap = new NgwOl({
    const ngwMap = new NgwMap({
    baseUrl: 'https://demo.nextgis.com',
    target: 'map',
    qmsId: 448,
    webmapId: 3985
    });
    </script>

    unpkg

    <script src="https://unpkg.com/@nextgis/ngw-ol"></script>
    

    jsdelivr

    <script src="https://cdn.jsdelivr.net/npm/@nextgis/ngw-ol"></script>
    

    We recommend linking to a specific version number /ngw-ol@[version]

    npm install ol @nextgis/ngw-ol
    
    import NgwMap from '@nextgis/ngw-ol';

    const ngwMap = new NgwMap({
    baseUrl: 'https://demo.nextgis.com',
    target: 'map',
    qmsId: 448,
    webmapId: 3985
    });

    Check out the API Documentation

    Need to fix a bug or add a feature to @nextgis/ngw-ol? We provide custom development and support for this software. Contact us to discuss options!

    http://nextgis.com

    Classes

    default