@nextgis/ngw-leaflet 1.16.7 → 1.16.9
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/lib/ngw-leaflet.esm-browser.js +11 -4
- package/lib/ngw-leaflet.esm-browser.js.map +1 -1
- package/lib/ngw-leaflet.esm-browser.prod.js +1 -1
- package/lib/ngw-leaflet.esm-browser.prod.js.map +1 -1
- package/lib/ngw-leaflet.esm-bundler.js +1 -1
- package/lib/ngw-leaflet.global.js +11 -4
- package/lib/ngw-leaflet.global.js.map +1 -1
- package/lib/ngw-leaflet.global.prod.js +1 -1
- package/lib/ngw-leaflet.global.prod.js.map +1 -1
- package/package.json +5 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** Bundle of @nextgis/ngw-leaflet; version: 1.16.
|
|
1
|
+
/** Bundle of @nextgis/ngw-leaflet; version: 1.16.9; author: NextGIS */
|
|
2
2
|
var NgwLeaflet = (function () {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -16433,11 +16433,11 @@ var NgwLeaflet = (function () {
|
|
|
16433
16433
|
this.options.bounds = tileJson.bounds;
|
|
16434
16434
|
}
|
|
16435
16435
|
if (defined(tileJson.maxzoom)) {
|
|
16436
|
-
this.options.maxZoom = tileJson.maxzoom;
|
|
16436
|
+
// this.options.maxZoom = tileJson.maxzoom;
|
|
16437
16437
|
this.options.zoom = tileJson.maxzoom;
|
|
16438
16438
|
}
|
|
16439
16439
|
if (defined(tileJson.minzoom)) {
|
|
16440
|
-
this.options.minZoom = tileJson.minzoom;
|
|
16440
|
+
// this.options.minZoom = tileJson.minzoom;
|
|
16441
16441
|
this.options.zoom = tileJson.minzoom;
|
|
16442
16442
|
}
|
|
16443
16443
|
if (defined(tileJson.maxzoom) && defined(tileJson.minzoom)) {
|
|
@@ -17992,6 +17992,10 @@ var NgwLeaflet = (function () {
|
|
|
17992
17992
|
return WebMap;
|
|
17993
17993
|
}(WebMapControls));
|
|
17994
17994
|
|
|
17995
|
+
function getDefaultControls() {
|
|
17996
|
+
return ['ZOOM', 'ATTRIBUTION'];
|
|
17997
|
+
}
|
|
17998
|
+
|
|
17995
17999
|
/**
|
|
17996
18000
|
* @example
|
|
17997
18001
|
* ```javascript
|
|
@@ -21595,6 +21599,9 @@ var NgwLeaflet = (function () {
|
|
|
21595
21599
|
createOpt = adapterOptions;
|
|
21596
21600
|
}
|
|
21597
21601
|
}
|
|
21602
|
+
else {
|
|
21603
|
+
webMap = webMapOrOptions;
|
|
21604
|
+
}
|
|
21598
21605
|
if (!url) {
|
|
21599
21606
|
url = URL;
|
|
21600
21607
|
}
|
|
@@ -22392,7 +22399,7 @@ var NgwLeaflet = (function () {
|
|
|
22392
22399
|
target: 'map',
|
|
22393
22400
|
baseUrl: '',
|
|
22394
22401
|
whitlabel: false,
|
|
22395
|
-
controls:
|
|
22402
|
+
controls: getDefaultControls(),
|
|
22396
22403
|
controlsOptions: {
|
|
22397
22404
|
ZOOM: { position: 'top-left' },
|
|
22398
22405
|
ATTRIBUTION: {
|