@nextgis/ngw-leaflet 1.10.0 → 1.11.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.
@@ -1,4 +1,4 @@
1
- /** Bundle of @nextgis/ngw-leaflet; version: 1.10.0; author: NextGIS */
1
+ /** Bundle of @nextgis/ngw-leaflet; version: 1.11.0; author: NextGIS */
2
2
  import 'leaflet/dist/leaflet.css';
3
3
  import { Icon } from 'leaflet';
4
4
  import { NgwMap } from '@nextgis/ngw-map';
@@ -1,4 +1,4 @@
1
- /** Bundle of @nextgis/ngw-leaflet; version: 1.10.0; author: NextGIS */
1
+ /** Bundle of @nextgis/ngw-leaflet; version: 1.11.0; author: NextGIS */
2
2
  var NgwLeaflet = (function () {
3
3
  'use strict';
4
4
 
@@ -106,10 +106,14 @@ var NgwLeaflet = (function () {
106
106
  throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
107
107
  }
108
108
 
109
- function __spreadArray(to, from) {
110
- for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
111
- to[j] = from[i];
112
- return to;
109
+ function __spreadArray(to, from, pack) {
110
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
111
+ if (ar || !(i in from)) {
112
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
113
+ ar[i] = from[i];
114
+ }
115
+ }
116
+ return to.concat(ar || Array.prototype.slice.call(from));
113
117
  }
114
118
 
115
119
  function __asyncValues(o) {
@@ -147,7 +151,7 @@ var NgwLeaflet = (function () {
147
151
  }
148
152
  }
149
153
 
150
- var css_248z$1 = ".leaflet-image-layer,.leaflet-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane,.leaflet-pane>canvas,.leaflet-pane>svg,.leaflet-tile,.leaflet-tile-container,.leaflet-zoom-box{left:0;position:absolute;top:0}.leaflet-container{overflow:hidden}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile{-webkit-user-drag:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.leaflet-tile::-moz-selection{background:transparent}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{height:1600px;-webkit-transform-origin:0 0;width:1600px}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-overlay-pane svg,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer{max-height:none!important;max-width:none!important}.leaflet-container.leaflet-touch-zoom{touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{box-sizing:border-box;height:0;width:0;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{height:1px;width:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{pointer-events:visiblePainted;pointer-events:auto;position:relative;z-index:800}.leaflet-bottom,.leaflet-top{pointer-events:none;position:absolute;z-index:1000}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{clear:both;float:left}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-tile{will-change:opacity}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}.leaflet-zoom-anim .leaflet-zoom-animated{transition:transform .25s cubic-bezier(0,0,.25,1);will-change:transform}.leaflet-pan-anim .leaflet-tile,.leaflet-zoom-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-control,.leaflet-popup-pane{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:grabbing}.leaflet-image-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-image-layer.leaflet-interactive,.leaflet-marker-icon.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline:0}.leaflet-container a{color:#0078a8}.leaflet-container a.leaflet-active{outline:2px solid orange}.leaflet-zoom-box{background:rgba(255,255,255,.5);border:2px dotted #38f}.leaflet-container{font:12px/1.5 Helvetica Neue,Arial,Helvetica,sans-serif}.leaflet-bar{border-radius:4px;box-shadow:0 1px 5px rgba(0,0,0,.65)}.leaflet-bar a,.leaflet-bar a:hover{background-color:#fff;border-bottom:1px solid #ccc;color:#000;display:block;height:26px;line-height:26px;text-align:center;text-decoration:none;width:26px}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom:none;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.leaflet-bar a.leaflet-disabled{background-color:#f4f4f4;color:#bbb;cursor:default}.leaflet-touch .leaflet-bar a{height:30px;line-height:30px;width:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{background:#fff;border-radius:5px;box-shadow:0 1px 5px rgba(0,0,0,.4)}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);height:36px;width:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{height:44px;width:44px}.leaflet-control-layers-expanded .leaflet-control-layers-toggle,.leaflet-control-layers .leaflet-control-layers-list{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{background:#fff;color:#333;padding:6px 10px 6px 6px}.leaflet-control-layers-scrollbar{overflow-x:hidden;overflow-y:scroll;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block}.leaflet-control-layers-separator{border-top:1px solid #ddd;height:0;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNW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kS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:hsla(0,0%,100%,.7);margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{color:#333;padding:0 5px}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover{text-decoration:underline}.leaflet-container .leaflet-control-attribution,.leaflet-container .leaflet-control-scale{font-size:11px}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{background:#fff;background:hsla(0,0%,100%,.5);border:2px solid #777;border-top:none;box-sizing:border-box;font-size:11px;line-height:1.1;overflow:hidden;padding:2px 5px 1px;white-space:nowrap}.leaflet-control-scale-line:not(:first-child){border-bottom:none;border-top:2px solid #777;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers{box-shadow:none}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-layers{background-clip:padding-box;border:2px solid rgba(0,0,0,.2)}.leaflet-popup{margin-bottom:20px;position:absolute;text-align:center}.leaflet-popup-content-wrapper{border-radius:12px;padding:1px;text-align:left}.leaflet-popup-content{line-height:1.4;margin:13px 19px}.leaflet-popup-content p{margin:18px 0}.leaflet-popup-tip-container{height:20px;left:50%;margin-left:-20px;overflow:hidden;pointer-events:none;position:absolute;width:40px}.leaflet-popup-tip{height:17px;margin:-10px auto 0;padding:1px;transform:rotate(45deg);width:17px}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;box-shadow:0 3px 14px rgba(0,0,0,.4);color:#333}.leaflet-container a.leaflet-popup-close-button{background:transparent;border:none;color:#c3c3c3;font:16px/14px Tahoma,Verdana,sans-serif;font-weight:700;height:14px;padding:4px 4px 0 0;position:absolute;right:0;text-align:center;text-decoration:none;top:0;width:18px}.leaflet-container a.leaflet-popup-close-button:hover{color:#999}.leaflet-popup-scrolled{border-bottom:1px solid #ddd;border-top:1px solid #ddd;overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{-ms-filter:\"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)\";filter:progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678,M12=0.70710678,M21=-0.70710678,M22=0.70710678);margin:0 auto;width:24px}.leaflet-oldie .leaflet-popup-tip-container{margin-top:-1px}.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{background-color:#fff;border:1px solid #fff;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,.4);color:#222;padding:6px;pointer-events:none;position:absolute;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap}.leaflet-tooltip.leaflet-clickable{cursor:pointer;pointer-events:auto}.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before,.leaflet-tooltip-top:before{background:transparent;border:6px solid transparent;content:\"\";pointer-events:none;position:absolute}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{border-top-color:#fff;bottom:0;margin-bottom:-12px}.leaflet-tooltip-bottom:before{border-bottom-color:#fff;margin-left:-6px;margin-top:-12px;top:0}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{margin-top:-6px;top:50%}.leaflet-tooltip-left:before{border-left-color:#fff;margin-right:-12px;right:0}.leaflet-tooltip-right:before{border-right-color:#fff;left:0;margin-left:-12px}";
154
+ var css_248z$1 = ".leaflet-image-layer,.leaflet-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane,.leaflet-pane>canvas,.leaflet-pane>svg,.leaflet-tile,.leaflet-tile-container,.leaflet-zoom-box{left:0;position:absolute;top:0}.leaflet-container{overflow:hidden}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile{-webkit-user-drag:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.leaflet-tile::-moz-selection{background:transparent}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{height:1600px;-webkit-transform-origin:0 0;width:1600px}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-overlay-pane svg,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer{max-height:none!important;max-width:none!important}.leaflet-container.leaflet-touch-zoom{touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{box-sizing:border-box;height:0;width:0;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{height:1px;width:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{pointer-events:visiblePainted;pointer-events:auto;position:relative;z-index:800}.leaflet-bottom,.leaflet-top{pointer-events:none;position:absolute;z-index:1000}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{clear:both;float:left}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-tile{will-change:opacity}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}.leaflet-zoom-anim .leaflet-zoom-animated{transition:transform .25s cubic-bezier(0,0,.25,1);will-change:transform}.leaflet-pan-anim .leaflet-tile,.leaflet-zoom-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-control,.leaflet-popup-pane{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:grabbing}.leaflet-image-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-image-layer.leaflet-interactive,.leaflet-marker-icon.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline:0}.leaflet-container a{color:#0078a8}.leaflet-container a.leaflet-active{outline:2px solid orange}.leaflet-zoom-box{background:hsla(0,0%,100%,.5);border:2px dotted #38f}.leaflet-container{font:12px/1.5 Helvetica Neue,Arial,Helvetica,sans-serif}.leaflet-bar{border-radius:4px;box-shadow:0 1px 5px rgba(0,0,0,.65)}.leaflet-bar a,.leaflet-bar a:hover{background-color:#fff;border-bottom:1px solid #ccc;color:#000;display:block;height:26px;line-height:26px;text-align:center;text-decoration:none;width:26px}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom:none;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.leaflet-bar a.leaflet-disabled{background-color:#f4f4f4;color:#bbb;cursor:default}.leaflet-touch .leaflet-bar a{height:30px;line-height:30px;width:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{background:#fff;border-radius:5px;box-shadow:0 1px 5px rgba(0,0,0,.4)}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);height:36px;width:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttu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SxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{height:44px;width:44px}.leaflet-control-layers-expanded .leaflet-control-layers-toggle,.leaflet-control-layers .leaflet-control-layers-list{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{background:#fff;color:#333;padding:6px 10px 6px 6px}.leaflet-control-layers-scrollbar{overflow-x:hidden;overflow-y:scroll;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block}.leaflet-control-layers-separator{border-top:1px solid #ddd;height:0;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDE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FKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:hsla(0,0%,100%,.7);margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{color:#333;padding:0 5px}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover{text-decoration:underline}.leaflet-container .leaflet-control-attribution,.leaflet-container .leaflet-control-scale{font-size:11px}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{background:#fff;background:hsla(0,0%,100%,.5);border:2px solid #777;border-top:none;box-sizing:border-box;font-size:11px;line-height:1.1;overflow:hidden;padding:2px 5px 1px;white-space:nowrap}.leaflet-control-scale-line:not(:first-child){border-bottom:none;border-top:2px solid #777;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers{box-shadow:none}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-layers{background-clip:padding-box;border:2px solid rgba(0,0,0,.2)}.leaflet-popup{margin-bottom:20px;position:absolute;text-align:center}.leaflet-popup-content-wrapper{border-radius:12px;padding:1px;text-align:left}.leaflet-popup-content{line-height:1.4;margin:13px 19px}.leaflet-popup-content p{margin:18px 0}.leaflet-popup-tip-container{height:20px;left:50%;margin-left:-20px;overflow:hidden;pointer-events:none;position:absolute;width:40px}.leaflet-popup-tip{height:17px;margin:-10px auto 0;padding:1px;transform:rotate(45deg);width:17px}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;box-shadow:0 3px 14px rgba(0,0,0,.4);color:#333}.leaflet-container a.leaflet-popup-close-button{background:transparent;border:none;color:#c3c3c3;font:16px/14px Tahoma,Verdana,sans-serif;font-weight:700;height:14px;padding:4px 4px 0 0;position:absolute;right:0;text-align:center;text-decoration:none;top:0;width:18px}.leaflet-container a.leaflet-popup-close-button:hover{color:#999}.leaflet-popup-scrolled{border-bottom:1px solid #ddd;border-top:1px solid #ddd;overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{-ms-filter:\"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)\";filter:progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678,M12=0.70710678,M21=-0.70710678,M22=0.70710678);margin:0 auto;width:24px}.leaflet-oldie .leaflet-popup-tip-container{margin-top:-1px}.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{background-color:#fff;border:1px solid #fff;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,.4);color:#222;padding:6px;pointer-events:none;position:absolute;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap}.leaflet-tooltip.leaflet-clickable{cursor:pointer;pointer-events:auto}.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before,.leaflet-tooltip-top:before{background:transparent;border:6px solid transparent;content:\"\";pointer-events:none;position:absolute}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{border-top-color:#fff;bottom:0;margin-bottom:-12px}.leaflet-tooltip-bottom:before{border-bottom-color:#fff;margin-left:-6px;margin-top:-12px;top:0}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{margin-top:-6px;top:50%}.leaflet-tooltip-left:before{border-left-color:#fff;margin-right:-12px;right:0}.leaflet-tooltip-right:before{border-right-color:#fff;left:0;margin-left:-12px}";
151
155
  styleInject(css_248z$1);
152
156
 
153
157
  var css_248z = ".ngw-map-container.leaflet-container{background:#fff}.leaflet-pane .leaflet-popup-pane{z-index:9999999999}";
@@ -15204,7 +15208,7 @@ var NgwLeaflet = (function () {
15204
15208
 
15205
15209
  /** @internal */
15206
15210
  function deprecatedWarn(message) {
15207
- console.warn("DEPRECATED WARN: " + message);
15211
+ console.warn("DEPRECATED WARN: ".concat(message));
15208
15212
  }
15209
15213
 
15210
15214
  // based on https://github.com/bvaughn/debounce-decorator
@@ -15500,7 +15504,7 @@ var NgwLeaflet = (function () {
15500
15504
  return true;
15501
15505
  if (iLike && a.toUpperCase() === b.toUpperCase())
15502
15506
  return true;
15503
- var re = ("^" + reEscape(a) + "$").replace(/%/g, '.*').replace('_', '.');
15507
+ var re = "^".concat(reEscape(a), "$").replace(/%/g, '.*').replace('_', '.');
15504
15508
  return new RegExp(re, iLike ? 'i' : '').exec(b) !== null;
15505
15509
  }
15506
15510
  var operationsAliases = {
@@ -16740,7 +16744,7 @@ var NgwLeaflet = (function () {
16740
16744
  }
16741
16745
  layerId = String(_adapter.id);
16742
16746
  if (this._layers[layerId]) {
16743
- throw Error("layer with id '" + layerId + "' already exist");
16747
+ throw Error("layer with id '".concat(layerId, "' already exist"));
16744
16748
  }
16745
16749
  if (!layerId) return [3 /*break*/, 8];
16746
16750
  this._layers[layerId] = _adapter;
@@ -18123,12 +18127,16 @@ var NgwLeaflet = (function () {
18123
18127
  var _this = _super.call(this) || this;
18124
18128
  _this.name = 'NetworkError';
18125
18129
  Object.setPrototypeOf(_this, NetworkError.prototype);
18126
- _this.message = "Unable to request " + url + ".\n Possibly invalid NGW URL entered or CORS not configured to get request from " + location.origin; // /control-panel/cors
18130
+ _this.message = "Unable to request ".concat(url, ".\n Possibly invalid NGW URL entered or CORS not configured to get request from ").concat(location.origin); // /control-panel/cors
18127
18131
  return _this;
18128
18132
  }
18129
18133
  return NetworkError;
18130
18134
  }(Error));
18131
18135
 
18136
+ function isObject(val) {
18137
+ return Object.prototype.toString.call(val) === '[object Object]';
18138
+ }
18139
+
18132
18140
  var loadData;
18133
18141
  // @ts-ignore
18134
18142
  {
@@ -18164,7 +18172,7 @@ var NgwLeaflet = (function () {
18164
18172
  }
18165
18173
  };
18166
18174
  xhr.onload = function () {
18167
- if ([401, 403, 404, 500].indexOf(xhr.status) !== -1) {
18175
+ if ([401, 403, 404, 422, 500].indexOf(xhr.status) !== -1) {
18168
18176
  error(new NgwError(getResponseText()));
18169
18177
  }
18170
18178
  processingResponse();
@@ -18219,7 +18227,7 @@ var NgwLeaflet = (function () {
18219
18227
  data = new FormData();
18220
18228
  data.append('file', options.file);
18221
18229
  if (options.data) {
18222
- for (var d in data) {
18230
+ for (var d in options.data) {
18223
18231
  data.append(d, data[d]);
18224
18232
  }
18225
18233
  }
@@ -18311,10 +18319,6 @@ var NgwLeaflet = (function () {
18311
18319
  }
18312
18320
  }
18313
18321
 
18314
- function isObject(val) {
18315
- return Object.prototype.toString.call(val) === '[object Object]';
18316
- }
18317
-
18318
18322
  var exclude = ['description'];
18319
18323
  /**
18320
18324
  * @remarks
@@ -18565,7 +18569,7 @@ var NgwLeaflet = (function () {
18565
18569
  ResourcesControl.prototype._fetchResourceById = function (id, requestOptions) {
18566
18570
  var _this = this;
18567
18571
  var promise = function () {
18568
- return _this.connector.get('resource.item', requestOptions, { id: id }).catch();
18572
+ return _this.connector.get('resource.item', requestOptions, { id: id });
18569
18573
  };
18570
18574
  return this.cache
18571
18575
  .add('resource.item', promise, {
@@ -18612,7 +18616,7 @@ var NgwLeaflet = (function () {
18612
18616
  .then(function (apiItems) {
18613
18617
  var apiItem = apiItems && apiItems[opt.name];
18614
18618
  if (apiItem) {
18615
- apiItem = __spreadArray([], apiItem);
18619
+ apiItem = __spreadArray([], apiItem, true);
18616
18620
  var url = apiItem.shift();
18617
18621
  if (apiItem.length) {
18618
18622
  var replaceParams = {};
@@ -18634,12 +18638,12 @@ var NgwLeaflet = (function () {
18634
18638
  if (Array.isArray(paramList)) {
18635
18639
  delete params.paramList;
18636
18640
  paramList.forEach(function (x) {
18637
- paramArray_1.push(x[0] + "=" + x[1]);
18641
+ paramArray_1.push("".concat(x[0], "=").concat(x[1]));
18638
18642
  });
18639
18643
  }
18640
18644
  for (var p in params) {
18641
18645
  if (apiItem.indexOf(p) === -1) {
18642
- paramArray_1.push(p + "=" + params[p]);
18646
+ paramArray_1.push("".concat(p, "=").concat(params[p]));
18643
18647
  }
18644
18648
  }
18645
18649
  if (paramArray_1.length) {
@@ -18773,7 +18777,7 @@ var NgwLeaflet = (function () {
18773
18777
  headers: this.getAuthorizationHeaders(credentials),
18774
18778
  // withCredentials: true
18775
18779
  };
18776
- // Do not use request('auth.current_user') to avoid circular-references
18780
+ // Do not use apiRequest('auth.current_user') to avoid circular-references
18777
18781
  return this.makeQuery('/api/component/auth/current_user', {}, options)
18778
18782
  .then(function (data) {
18779
18783
  _this.user = data;
@@ -18800,7 +18804,7 @@ var NgwLeaflet = (function () {
18800
18804
  credentials = credentials || this.options.auth;
18801
18805
  if (credentials) {
18802
18806
  var login = credentials.login, password = credentials.password;
18803
- var str = unescape(encodeURIComponent(login + ":" + password));
18807
+ var str = unescape(encodeURIComponent("".concat(login, ":").concat(password)));
18804
18808
  // @ts-ignore
18805
18809
  {
18806
18810
  return window.btoa(str);
@@ -19073,7 +19077,7 @@ var NgwLeaflet = (function () {
19073
19077
  if (value) {
19074
19078
  var propElem = document.createElement('div');
19075
19079
  element_1.appendChild(propElem);
19076
- propElem.innerHTML = "<span>" + x.display_name + "</span>: " + value + "<span></span>";
19080
+ propElem.innerHTML = "<span>".concat(x.display_name, "</span>: ").concat(value, "<span></span>");
19077
19081
  }
19078
19082
  }
19079
19083
  });
@@ -19082,7 +19086,7 @@ var NgwLeaflet = (function () {
19082
19086
  for (var p in feature.properties) {
19083
19087
  var propElem = document.createElement('div');
19084
19088
  element_1.appendChild(propElem);
19085
- propElem.innerHTML = "<span>" + p + "</span>: " + feature.properties[p] + "<span></span>";
19089
+ propElem.innerHTML = "<span>".concat(p, "</span>: ").concat(feature.properties[p], "<span></span>");
19086
19090
  }
19087
19091
  }
19088
19092
  return element_1;
@@ -19265,15 +19269,15 @@ var NgwLeaflet = (function () {
19265
19269
  return b;
19266
19270
  });
19267
19271
  var v = vStart + value + vEnd;
19268
- return ["" + isFldStr + field_ + "__" + operation, v];
19272
+ return ["".concat(isFldStr).concat(field_, "__").concat(operation), v];
19269
19273
  };
19270
19274
  if (logic === 'any') {
19271
19275
  filters_.forEach(function (f) {
19272
19276
  if (isPropertyFilter(f)) {
19273
- _queries.push(fetchNgwLayerItemsRequest(__assign(__assign({}, opt), { paramList: __spreadArray(__spreadArray([], _parentAllParams, true), [createParam(f)]) })));
19277
+ _queries.push(fetchNgwLayerItemsRequest(__assign(__assign({}, opt), { paramList: __spreadArray(__spreadArray([], _parentAllParams, true), [createParam(f)], false) })));
19274
19278
  }
19275
19279
  else {
19276
- createFeatureFieldFilterQueries(__assign(__assign({}, opt), { filters: f }), _queries, __spreadArray([], _parentAllParams));
19280
+ createFeatureFieldFilterQueries(__assign(__assign({}, opt), { filters: f }), _queries, __spreadArray([], _parentAllParams, true));
19277
19281
  }
19278
19282
  });
19279
19283
  }
@@ -19292,11 +19296,11 @@ var NgwLeaflet = (function () {
19292
19296
  if (propertiesFilterList.length) {
19293
19297
  for (var _a = 0, propertiesFilterList_1 = propertiesFilterList; _a < propertiesFilterList_1.length; _a++) {
19294
19298
  var x = propertiesFilterList_1[_a];
19295
- createFeatureFieldFilterQueries(__assign(__assign({}, opt), { filters: x }), _queries, __spreadArray(__spreadArray([], _parentAllParams, true), filters_2));
19299
+ createFeatureFieldFilterQueries(__assign(__assign({}, opt), { filters: x }), _queries, __spreadArray(__spreadArray([], _parentAllParams, true), filters_2, true));
19296
19300
  }
19297
19301
  }
19298
19302
  else {
19299
- _queries.push(fetchNgwLayerItemsRequest(__assign(__assign({}, opt), { paramList: __spreadArray(__spreadArray([], _parentAllParams, true), filters_2) })));
19303
+ _queries.push(fetchNgwLayerItemsRequest(__assign(__assign({}, opt), { paramList: __spreadArray(__spreadArray([], _parentAllParams, true), filters_2, true) })));
19300
19304
  }
19301
19305
  }
19302
19306
  return CancelablePromise.all(_queries).then(function (itemsParts) {
@@ -19315,7 +19319,7 @@ var NgwLeaflet = (function () {
19315
19319
  var _b = degrees2meters(lng, lat), x = _b[0], y = _b[1];
19316
19320
  return x + ' ' + y;
19317
19321
  });
19318
- return "POLYGON((" + polygon.join(', ') + "))";
19322
+ return "POLYGON((".concat(polygon.join(', '), "))");
19319
19323
  }
19320
19324
  function fetchNgwLayerItemsRequest(options) {
19321
19325
  var params = __assign({}, FEATURE_REQUEST_PARAMS);
@@ -19370,7 +19374,7 @@ var NgwLeaflet = (function () {
19370
19374
  dt_1.push(x);
19371
19375
  });
19372
19376
  }
19373
- fields[f] = new (Date.bind.apply(Date, __spreadArray([void 0], dt_1)))().toISOString();
19377
+ fields[f] = new (Date.bind.apply(Date, __spreadArray([void 0], dt_1, false)))().toISOString();
19374
19378
  }
19375
19379
  }
19376
19380
  };
@@ -19775,7 +19779,7 @@ var NgwLeaflet = (function () {
19775
19779
  }
19776
19780
  }
19777
19781
  if (adapter === 'WMS') {
19778
- url = baseUrl + "/api/resource/" + resourceId + "/wms";
19782
+ url = "".concat(baseUrl, "/api/resource/").concat(resourceId, "/wms");
19779
19783
  var adapterOptions = options.adapterOptions;
19780
19784
  return {
19781
19785
  url: url,
@@ -19799,12 +19803,12 @@ var NgwLeaflet = (function () {
19799
19803
  };
19800
19804
  }
19801
19805
  if (adapter === 'TERRAIN') {
19802
- url = baseUrl + ("/api/resource/" + resourceId + "/terrain_provider");
19806
+ url = baseUrl + "/api/resource/".concat(resourceId, "/terrain_provider");
19803
19807
  // `/api/resource/${resourceId}/terrain_provider/{z}/{x}/{y}.terrain`;
19804
19808
  return { url: url, adapter: adapter };
19805
19809
  }
19806
19810
  if (adapter === 'MODEL_3D') {
19807
- url = baseUrl + ("/api/component/model_3d/" + resourceId + "/data.glb");
19811
+ url = baseUrl + "/api/component/model_3d/".concat(resourceId, "/data.glb");
19808
19812
  return { url: url };
19809
19813
  }
19810
19814
  if (adapter === 'TILE') {
@@ -20090,7 +20094,7 @@ var NgwLeaflet = (function () {
20090
20094
  });
20091
20095
  };
20092
20096
  TreeHelper.prototype.getChildren = function () {
20093
- return __spreadArray([], this._children);
20097
+ return __spreadArray([], this._children, true);
20094
20098
  };
20095
20099
  return TreeHelper;
20096
20100
  }());
@@ -20612,7 +20616,7 @@ var NgwLeaflet = (function () {
20612
20616
  return options;
20613
20617
  };
20614
20618
  NgwWebmapItem.prototype.getChildren = function (item) {
20615
- return __spreadArray([], item.children).reverse();
20619
+ return __spreadArray([], item.children, true).reverse();
20616
20620
  };
20617
20621
  NgwWebmapItem.prototype._mapScaleToZoomLevel = function (scale) {
20618
20622
  return setScaleRatio(scale);
@@ -20932,16 +20936,25 @@ var NgwLeaflet = (function () {
20932
20936
  }
20933
20937
  }
20934
20938
  NgwWebmapLayerAdapter.prototype.addLayer = function (options) {
20939
+ var _a, _b;
20935
20940
  return __awaiter(this, void 0, void 0, function () {
20936
- var _a;
20937
- return __generator(this, function (_b) {
20938
- switch (_b.label) {
20941
+ var _c, extentConstrained;
20942
+ return __generator(this, function (_d) {
20943
+ switch (_d.label) {
20939
20944
  case 0:
20940
20945
  this.options = __assign(__assign({}, this.options), options);
20941
- _a = this;
20946
+ _c = this;
20942
20947
  return [4 /*yield*/, this._getWebMapLayerItem()];
20943
20948
  case 1:
20944
- _a.layer = _b.sent();
20949
+ _c.layer = _d.sent();
20950
+ extentConstrained = (_b = (_a = this.response) === null || _a === void 0 ? void 0 : _a.webmap) === null || _b === void 0 ? void 0 : _b.extent_constrained;
20951
+ if (this.options.useExtentConstrained &&
20952
+ this._extent &&
20953
+ extentConstrained) {
20954
+ this.options.webMap.setView({ maxBounds: this._extent });
20955
+ // @ts-ignore
20956
+ window.webmap = this.options.webMap;
20957
+ }
20945
20958
  return [2 /*return*/, this.layer];
20946
20959
  }
20947
20960
  });
@@ -20964,6 +20977,9 @@ var NgwLeaflet = (function () {
20964
20977
  this.options.webMap.showLayer(this._lastActiveBaselayer);
20965
20978
  }
20966
20979
  }
20980
+ if (this.options.useExtentConstrained && this._extent) {
20981
+ this.options.webMap.setView({ maxBounds: null });
20982
+ }
20967
20983
  delete this.layer;
20968
20984
  delete this.response;
20969
20985
  delete this._webmapLayersIds;
@@ -21646,7 +21662,7 @@ var NgwLeaflet = (function () {
21646
21662
  }
21647
21663
  }
21648
21664
  else {
21649
- throw "Resource class '" + cls + "' not yet supported.";
21665
+ throw "Resource class '".concat(cls, "' not yet supported.");
21650
21666
  }
21651
21667
  _a.label = 13;
21652
21668
  case 13: return [3 /*break*/, 15];
@@ -22007,7 +22023,7 @@ var NgwLeaflet = (function () {
22007
22023
  var _b = degrees2meters(lng, lat), x = _b[0], y = _b[1];
22008
22024
  polygon.push(x + ' ' + y);
22009
22025
  });
22010
- var wkt = "POLYGON((" + polygon.join(', ') + "))";
22026
+ var wkt = "POLYGON((".concat(polygon.join(', '), "))");
22011
22027
  var layers = options.layers;
22012
22028
  var data = {
22013
22029
  geom: wkt,
@@ -22097,7 +22113,7 @@ var NgwLeaflet = (function () {
22097
22113
  function insertSvg(width, height, stroke, content) {
22098
22114
  if (stroke === void 0) { stroke = 0; }
22099
22115
  var s = stroke / 2;
22100
- var svg = "<svg\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"" + width + "\"\n height=\"" + height + "\"\n viewBox=\"-" + s + " -" + s + " " + (width + stroke) + " " + (height + stroke) + "\"\n >" + content + "</svg>";
22116
+ var svg = "<svg\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"".concat(width, "\"\n height=\"").concat(height, "\"\n viewBox=\"-").concat(s, " -").concat(s, " ").concat(width + stroke, " ").concat(height + stroke, "\"\n >").concat(content, "</svg>");
22101
22117
  var oParser = new DOMParser();
22102
22118
  var oDOM = oParser.parseFromString(svg, 'image/svg+xml');
22103
22119
  return oDOM.documentElement;
@@ -22117,7 +22133,7 @@ var NgwLeaflet = (function () {
22117
22133
  var path = typeof pathAlias === 'string' ? pathAlias : pathAlias(opt);
22118
22134
  var svg = insertSvg(size, size, stroke * scale, path);
22119
22135
  var fistChild = svg.firstChild;
22120
- var transform = "scale(" + scale + ")";
22136
+ var transform = "scale(".concat(scale, ")");
22121
22137
  fistChild.setAttribute('fill', color);
22122
22138
  if (stroke) {
22123
22139
  fistChild.setAttribute('stroke', strokeColor);
@@ -22338,7 +22354,7 @@ var NgwLeaflet = (function () {
22338
22354
  resId = isObject$1(resource) && 'id' in resource
22339
22355
  ? resource.id
22340
22356
  : keyname || resourceId || resource;
22341
- console.error("Can't add NGW layer " + resId + ".", er_1);
22357
+ console.error("Can't add NGW layer ".concat(resId, "."), er_1);
22342
22358
  return [3 /*break*/, 5];
22343
22359
  case 5: return [2 /*return*/];
22344
22360
  }
@@ -22732,7 +22748,7 @@ var NgwLeaflet = (function () {
22732
22748
  var identifyFeature = {
22733
22749
  id: Number(featureId),
22734
22750
  fields: feature.properties || {},
22735
- label: "#" + id,
22751
+ label: "#".concat(id),
22736
22752
  layerId: Number(id),
22737
22753
  parent: '',
22738
22754
  geom: feature.geometry,
@@ -24020,7 +24036,7 @@ var NgwLeaflet = (function () {
24020
24036
  a[_i] = arguments[_i];
24021
24037
  }
24022
24038
  // @ts-ignore
24023
- (_a = leafletSrc.exports.GridLayer.prototype._update).call.apply(_a, __spreadArray([_this], a));
24039
+ (_a = leafletSrc.exports.GridLayer.prototype._update).call.apply(_a, __spreadArray([_this], a, false));
24024
24040
  }, _this.options.setViewDelay);
24025
24041
  }
24026
24042
  return _this;
@@ -24197,6 +24213,7 @@ var NgwLeaflet = (function () {
24197
24213
  if (this.map) {
24198
24214
  this.map.remove();
24199
24215
  }
24216
+ this._stopWatchSizeChangeToUpdateMinZoom();
24200
24217
  };
24201
24218
  LeafletMapAdapter.prototype.getContainer = function () {
24202
24219
  return this.map && this.map.getContainer();
@@ -24247,17 +24264,22 @@ var NgwLeaflet = (function () {
24247
24264
  }
24248
24265
  if (maxBounds !== undefined) {
24249
24266
  if (maxBounds) {
24250
- map.setMaxBounds(arrayToBoundsExpression(maxBounds));
24267
+ var b = arrayToBoundsExpression(maxBounds);
24268
+ map.setMaxBounds(b);
24269
+ map.setMinZoom(map.getBoundsZoom(b));
24270
+ this._watchSizeChangeToUpdateMinZoom(b);
24251
24271
  }
24252
24272
  else {
24253
24273
  // @ts-ignore `null` works for unset maxBounds, but not in typing
24254
24274
  map.setMaxBounds(null);
24275
+ this._stopWatchSizeChangeToUpdateMinZoom();
24255
24276
  }
24256
24277
  }
24257
24278
  if (maxZoom !== undefined) {
24258
24279
  map.setMaxZoom(maxZoom);
24259
24280
  }
24260
24281
  if (minZoom !== undefined) {
24282
+ this._stopWatchSizeChangeToUpdateMinZoom();
24261
24283
  map.setMinZoom(minZoom);
24262
24284
  }
24263
24285
  }
@@ -24394,6 +24416,27 @@ var NgwLeaflet = (function () {
24394
24416
  this._unselectCb.length = 0;
24395
24417
  this._unselectCb.push(cb);
24396
24418
  };
24419
+ LeafletMapAdapter.prototype._watchSizeChangeToUpdateMinZoom = function (bounds) {
24420
+ this._stopWatchSizeChangeToUpdateMinZoom();
24421
+ var container = this.getContainer();
24422
+ var map = this.map;
24423
+ if (container && map && window.ResizeObserver) {
24424
+ this._resizeObserver = new ResizeObserver(function () {
24425
+ map.setMinZoom(map.getBoundsZoom(bounds));
24426
+ });
24427
+ this._resizeObserver.observe(container);
24428
+ }
24429
+ };
24430
+ LeafletMapAdapter.prototype._stopWatchSizeChangeToUpdateMinZoom = function () {
24431
+ var map = this.map;
24432
+ if (map) {
24433
+ map.setMinZoom(0);
24434
+ }
24435
+ if (this._resizeObserver) {
24436
+ this._resizeObserver.disconnect();
24437
+ this._resizeObserver = undefined;
24438
+ }
24439
+ };
24397
24440
  LeafletMapAdapter.prototype._addMapListeners = function () {
24398
24441
  var _this = this;
24399
24442
  var map = this.map;