# @nextgis/qms-kit

> Build webmap with QuickMapServices

Latest version **4.1.1** (published 2026-11-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install @nextgis/qms-kit
pnpm add @nextgis/qms-kit
yarn add @nextgis/qms-kit
bun add @nextgis/qms-kit
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 4.1.1 |
| Published | 2026-11-13 |
| First published | 2018-08-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 160.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 31 |
| Author | NextGIS |
| Maintainers | rendrom, maximdubinin, karavanjo |
| Keywords | NextGIS, MAP |

## Links

- npm: https://www.npmjs.com/package/@nextgis/qms-kit
- Repository: https://github.com/nextgis/nextgis_frontend
- Homepage: https://github.com/nextgis/nextgis_frontend/tree/master/packages/qms-kit#readme
- Issues: https://github.com/nextgis/nextgis_frontend/issues
- npm.io page: https://npm.io/package/@nextgis/qms-kit

## Dependencies (3)

- [@nextgis/utils](https://npm.io/package/@nextgis/utils.md) 4.1.1
- [@nextgis/webmap](https://npm.io/package/@nextgis/webmap.md) 4.1.1
- [@nextgis/qms-core](https://npm.io/package/@nextgis/qms-core.md) 4.0.2

## Recent versions

- 4.1.1 (latest) — 2026-11-13
- 4.0.0-alpha.1 (alpha) — 2026-05-27
- 4.1.0 — 2026-11-11
- 4.0.2 — 2026-11-05
- 4.0.1 — 2026-11-02
- 4.0.0 — 2026-08-30
- 4.0.0-rc.2 — 2026-08-30
- 4.0.0-rc.1 — 2026-08-29
- 4.0.0-rc.0 — 2026-08-27
- 4.0.0-alpha.8 — 2026-08-25
- 4.0.0-alpha.6 — 2026-08-24
- 4.0.0-alpha.5 — 2026-08-21
- 4.0.0-alpha.4 — 2026-08-18
- 4.0.0-alpha.2 — 2026-05-28
- 4.0.0-alpha.0 — 2026-05-12
- … 228 more at https://npm.io/package/@nextgis/qms-kit/versions

## README

# Qms kit

![version](https://img.shields.io/npm/v/@nextgis/qms-kit)

Register [NextGIS QMS](https://qms.nextgis.com/) TMS and WMS services as
baselayers in [`@nextgis/webmap`](../webmap/README.md).

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.

## Installation

```bash
npm install @nextgis/qms-kit @nextgis/webmap
```

## Usage

### Use as a WebMap starter kit

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

### Register the adapter directly

```javascript
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](https://code-api.nextgis.com/modules/_nextgis_qms-kit.html)
and the [package architecture guide](../../docs/PACKAGES.md).

[![http://nextgis.com](https://nextgis.com/img/nextgis.png)](http://nextgis.com)

---
_Source: https://npm.io/package/@nextgis/qms-kit · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
