@nextgis/qms-kit
TypeScript icon, indicating that this package has built-in type declarations

3.0.0-alpha.18 • Public • Published

Qms kit

size version

Build webmap with QuickMapServices baselayers.

Usage

Use with webmap starter kit

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 });

Use with createQmsAdapter function

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

Readme

Keywords

Package Sidebar

Install

npm i @nextgis/qms-kit

Weekly Downloads

116

Version

3.0.0-alpha.18

License

MIT

Unpacked Size

137 kB

Total Files

21

Last publish

Collaborators

  • rendrom
  • maximdubinin
  • karavanjo