Module @nextgis/qms-kit

Qms kit

size version

Build webmap with QuickMapServices baselayers.

import { WebMap } from '@nextgis/webmap';
import { QmsKit } from '@nextgis/qms-kit';
import LeafletMapAdapter from '@nextgis/leaflet-map-adapter';


const webMap = new WebMap({
mapAdapter: new LeafletMapAdapter(),
starterKits: [new QmsKit()],
});

webMap.addBaseLayer('QMS', { qmsId: 3335 });
import { WebMap } from '@nextgis/webmap';
import { createQmsAdapter } from '@nextgis/qms-kit';
import LeafletMapAdapter from '@nextgis/leaflet-map-adapter';


const webMap = new WebMap({
mapAdapter: new LeafletMapAdapter(),
});

webMap.addBaseLayer(createQmsAdapter({ webMap, qmsId: 3335 }));

http://nextgis.com

Index

Classes

Interfaces

Type Aliases

Variables

Functions