@nextgis/ngw-leaflet 1.19.5 → 2.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -72,4 +72,4 @@ Check out the [API Documentation](https://code-api.nextgis.com/modules/ngw_map.h
72
72
 
73
73
  Need to fix a bug or add a feature to `@nextgis/ngw-leaflet`? We provide custom development and support for this software. [Contact us](http://nextgis.com/contact/) to discuss options!
74
74
 
75
- [![http://nextgis.com](https://nextgis.ru/img/nextgis.png)](http://nextgis.com)
75
+ [![http://nextgis.com](https://nextgis.com/img/nextgis.png)](http://nextgis.com)
package/lib/index.d.ts CHANGED
@@ -1,39 +1,27 @@
1
- /**
2
- * Single-file bundle for rapid deployment of {@link https://leafletjs.com/ | Leaflet }-based web-gis applications with NextGIS services
3
- *
4
- * @remarks
5
- * Styles images and other assets are already in bundle, you don't need to include anything except one JS file!
6
- *
7
- * @packageDocumentation
8
- * @module ngw-leaflet
9
- */
10
-
11
- import { Map as Map_2 } from 'leaflet';
12
- import { NgwMap } from '@nextgis/ngw-map';
13
- import { NgwMapOptions } from '@nextgis/ngw-map';
14
-
15
- /**
16
- * Displaying the [NgwMap](ngw-map-api)
17
- * using the [LeafletMapAdapter](leaflet-map-adapter-api)
18
- *
19
- * @example
20
- * ```javascript
21
- * // Base initialization
22
- * // [live demo](http://code.nextgis.com/ngw-leaflet-examples-ngw-webmap)
23
- * import { NgwMap } from '@nextgis/ngw-leaflet';
24
- *
25
- * const ngwMap = new NgwMap({
26
- * target: 'map',
27
- * qmsId: 448,
28
- * baseUrl: 'https://demo.nextgis.com',
29
- * webmapId: 3985
30
- * });
31
- * ```
32
- */
33
- declare class NgwLeaflet extends NgwMap<Map_2> {
34
- constructor(options: NgwMapOptions);
35
- static create(options: NgwMapOptions): Promise<NgwLeaflet>;
36
- }
37
- export default NgwLeaflet;
38
-
39
- export { }
1
+ import { NgwMap, NgwMapOptions } from '@nextgis/ngw-map';
2
+ import { Map } from 'leaflet';
3
+
4
+ /**
5
+ * Displaying the [NgwMap](ngw-map-api)
6
+ * using the [LeafletMapAdapter](leaflet-map-adapter-api)
7
+ *
8
+ * @example
9
+ * ```javascript
10
+ * // Base initialization
11
+ * // [live demo](http://code.nextgis.com/ngw-leaflet-examples-ngw-webmap)
12
+ * import { NgwMap } from '@nextgis/ngw-leaflet';
13
+ *
14
+ * const ngwMap = new NgwMap({
15
+ * target: 'map',
16
+ * qmsId: 448,
17
+ * baseUrl: 'https://demo.nextgis.com',
18
+ * webmapId: 3985
19
+ * });
20
+ * ```
21
+ */
22
+ declare class NgwLeaflet extends NgwMap<Map> {
23
+ constructor(options: NgwMapOptions);
24
+ static create(options: NgwMapOptions): Promise<NgwLeaflet>;
25
+ }
26
+
27
+ export { NgwLeaflet as default };