@nextgis/ngw-leaflet 1.16.7 → 1.16.8
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 +9 -2
- 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 +9 -2
- 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.8; author: NextGIS */
|
|
2
2
|
var NgwLeaflet = (function () {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -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: {
|