NextGIS Frontend
    Preparing search index...

    Module @nextgis/qms-kit

    Qms kit

    size version

    Register NextGIS QMS TMS and WMS services as baselayers in @nextgis/webmap.

    This is a developer package for libraries built on the common WebMap API. Use qms-leaflet, qms-ol, or qms-maplibre-gl when working with an existing native map.

    npm install @nextgis/qms-kit @nextgis/webmap
    
    import { createWebMap } from '@nextgis/webmap';
    import { QmsKit } from '@nextgis/qms-kit';
    import LeafletMapAdapter from '@nextgis/leaflet-map-adapter';
    import 'leaflet/dist/leaflet.css';

    const webMap = await createWebMap({
    target: 'map',
    mapAdapter: new LeafletMapAdapter(),
    starterKits: [new QmsKit()],
    });

    await webMap.addBaseLayer('QMS', { qmsId: 448 });
    import { createWebMap } from '@nextgis/webmap';
    import { createQmsAdapter } from '@nextgis/qms-kit';
    import LeafletMapAdapter from '@nextgis/leaflet-map-adapter';
    import 'leaflet/dist/leaflet.css';

    const webMap = await createWebMap({
    target: 'map',
    mapAdapter: new LeafletMapAdapter(),
    });

    const QmsAdapter = createQmsAdapter({ webMap, qmsId: 448 });
    await webMap.addBaseLayer(QmsAdapter);

    See the API Documentation and the package architecture guide.

    http://nextgis.com

    QmsKit
    CreateQmsAdapterOptions
    GeoserviceInList
    QmsAdapter
    QmsAdapterOptions
    QmsBasemap
    alias
    createQmsAdapter