@nextgis/ngw-map 2.0.0 → 2.1.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 +1 -3
- package/lib/ngw-map.cjs.js +1 -1
- package/lib/ngw-map.esm-browser.js +4 -1
- package/lib/ngw-map.esm-browser.js.map +1 -1
- package/lib/ngw-map.esm-browser.prod.js +1 -1
- package/lib/ngw-map.esm-browser.prod.js.map +1 -1
- package/lib/ngw-map.esm-bundler.js +1 -1
- package/lib/ngw-map.global.js +4 -1
- package/lib/ngw-map.global.js.map +1 -1
- package/lib/ngw-map.global.prod.js +1 -1
- package/lib/ngw-map.global.prod.js.map +1 -1
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -10,9 +10,7 @@ Use NgwMap with NPM installation method for building large scale applications. I
|
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
12
|
# latest stable
|
|
13
|
-
|
|
14
|
-
# or
|
|
15
|
-
$ yarn add @nextgis/ngw-map
|
|
13
|
+
npm install @nextgis/ngw-map
|
|
16
14
|
```
|
|
17
15
|
|
|
18
16
|
```javascript
|
package/lib/ngw-map.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** Bundle of @nextgis/ngw-map; version: 2.
|
|
1
|
+
/** Bundle of @nextgis/ngw-map; version: 2.1.0; author: NextGIS */
|
|
2
2
|
var domain;
|
|
3
3
|
|
|
4
4
|
// This constructor is used to store event handlers. Instantiating this is
|
|
@@ -7583,6 +7583,9 @@ const _WebMapMain = class _WebMapMain {
|
|
|
7583
7583
|
this.setView(center, zoom);
|
|
7584
7584
|
} else if (bounds) {
|
|
7585
7585
|
this.fitBounds(bounds);
|
|
7586
|
+
if (zoom !== void 0) {
|
|
7587
|
+
this.setZoom(zoom);
|
|
7588
|
+
}
|
|
7586
7589
|
}
|
|
7587
7590
|
}
|
|
7588
7591
|
_setInitMapState(states) {
|