UNPKG

@nextgis/ngw-leaflet

Version:

Single-file bundle for rapid deployment of Leaflet-based web-gis applications with NextGIS services

28 lines (25 loc) 716 B
import { NgwMap, NgwMapOptions } from '@nextgis/ngw-map'; import { Map } from 'leaflet'; /** * Displaying the [NgwMap](ngw-map-api) * using the [LeafletMapAdapter](leaflet-map-adapter-api) * * @example * ```javascript * // Base initialization * // [live demo](http://code.nextgis.com/ngw-leaflet-examples-ngw-webmap) * import { NgwMap } from '@nextgis/ngw-leaflet'; * * const ngwMap = new NgwMap({ * target: 'map', * qmsId: 448, * baseUrl: 'https://demo.nextgis.com', * webmapId: 3985 * }); * ``` */ declare class NgwLeaflet extends NgwMap<Map> { constructor(options: NgwMapOptions); static create(options: NgwMapOptions): Promise<NgwLeaflet>; } export { NgwLeaflet as default };