# @nextgis-apps/ngw-mapbox

> Library providing tools to show NGW cloud through leaflet.js

Latest version **0.2.2** (published 2018-11-07) · GPL-3.0 license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @nextgis-apps/ngw-mapbox
pnpm add @nextgis-apps/ngw-mapbox
yarn add @nextgis-apps/ngw-mapbox
bun add @nextgis-apps/ngw-mapbox
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.2.2 |
| Published | 2018-11-07 |
| First published | 2018-11-07 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 2.4 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | NextGIS |
| Maintainers | rendrom |
| Keywords | NextGIS, MAP, NGW, API |

## Links

- npm: https://www.npmjs.com/package/@nextgis-apps/ngw-mapbox
- Repository: https://github.com/nextgis/nextgis_frontend_apps
- npm.io page: https://npm.io/package/@nextgis-apps/ngw-mapbox

## Dependencies (3)

- [mapbox-gl](https://npm.io/package/mapbox-gl.md) ^0.51.0-beta.2
- [@nextgis-apps/ngw-map](https://npm.io/package/@nextgis-apps/ngw-map.md) ^0.2.2
- [@nextgis/mapbox-gl-adapter](https://npm.io/package/@nextgis/mapbox-gl-adapter.md) ^0.4.2

## Recent versions

- 0.2.2 (latest) — 2018-11-07
- 0.2.1 — 2018-11-07

## README

# ngw-leaflet

Library providing tools to show NGW cloud through leaflet.js

## Usage

### Using directly in the browser

#### Direct <script> Include

Simply download and include with a script tag. NgwLeaflet will be registered as a global variable.

```html
<script src="./lib/ngw-leaflet.js"></script>
<div id='map'></div>
<script>
  var ngwMap = new NgwLeaflet({
    baseUrl: 'https://demo.nextgis.com',
    target: map,
    qmsId: 487,
    webmapId: 3985
  });
</script>
```

#### CDN

```html
<script src="https://unpkg.com/@nextgis-apps/ngw-leaflet@latest"></script>
```

We recommend linking to a specific version number that you can update manually:

```html
<script src="https://unpkg.com/@nextgis-apps/ngw-leaflet@0.2.0"></script>
```

### NPM

NPM is the recommended installation method when building large scale applications with Vue. It pairs nicely with module bundlers such as [Webpack](https://webpack.js.org/)

```bash
# latest stable
$ npm install @nextgis-apps/ngw-leaflet
```

```js
import NgwLeaflet from 'ngw-leaflet';

const ngwLeaflet = new NgwLeaflet({
  baseUrl: 'https://demo.nextgis.com',
  target: map,
  qmsId: 487,
  webmapId: 3985
});

```

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