@nextgis/ngw-leaflet 1.10.0 → 1.11.7
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 +50 -14
- package/lib/ngw-leaflet.esm-browser.js.map +1 -1
- package/lib/ngw-leaflet.esm-browser.prod.js +2 -2
- 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 +92 -52
- package/lib/ngw-leaflet.global.js.map +1 -1
- package/lib/ngw-leaflet.global.prod.js +2 -2
- 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.
|
|
1
|
+
/** Bundle of @nextgis/ngw-leaflet; version: 1.11.7; 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,
|
|
111
|
-
|
|
112
|
-
|
|
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/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJ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hsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/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/uDivd3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cGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+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}";
|
|
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/fVzMdMT2g9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yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+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/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2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ut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+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: "
|
|
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 =
|
|
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 = {
|
|
@@ -15719,9 +15723,6 @@ var NgwLeaflet = (function () {
|
|
|
15719
15723
|
line: 'path',
|
|
15720
15724
|
point: 'circle',
|
|
15721
15725
|
};
|
|
15722
|
-
/**
|
|
15723
|
-
* @internal
|
|
15724
|
-
*/
|
|
15725
15726
|
var typeAlias$1 = {
|
|
15726
15727
|
Point: 'point',
|
|
15727
15728
|
LineString: 'line',
|
|
@@ -16740,7 +16741,7 @@ var NgwLeaflet = (function () {
|
|
|
16740
16741
|
}
|
|
16741
16742
|
layerId = String(_adapter.id);
|
|
16742
16743
|
if (this._layers[layerId]) {
|
|
16743
|
-
throw Error("layer with id '"
|
|
16744
|
+
throw Error("layer with id '".concat(layerId, "' already exist"));
|
|
16744
16745
|
}
|
|
16745
16746
|
if (!layerId) return [3 /*break*/, 8];
|
|
16746
16747
|
this._layers[layerId] = _adapter;
|
|
@@ -18123,12 +18124,16 @@ var NgwLeaflet = (function () {
|
|
|
18123
18124
|
var _this = _super.call(this) || this;
|
|
18124
18125
|
_this.name = 'NetworkError';
|
|
18125
18126
|
Object.setPrototypeOf(_this, NetworkError.prototype);
|
|
18126
|
-
_this.message = "Unable to request "
|
|
18127
|
+
_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
18128
|
return _this;
|
|
18128
18129
|
}
|
|
18129
18130
|
return NetworkError;
|
|
18130
18131
|
}(Error));
|
|
18131
18132
|
|
|
18133
|
+
function isObject(val) {
|
|
18134
|
+
return Object.prototype.toString.call(val) === '[object Object]';
|
|
18135
|
+
}
|
|
18136
|
+
|
|
18132
18137
|
var loadData;
|
|
18133
18138
|
// @ts-ignore
|
|
18134
18139
|
{
|
|
@@ -18164,7 +18169,7 @@ var NgwLeaflet = (function () {
|
|
|
18164
18169
|
}
|
|
18165
18170
|
};
|
|
18166
18171
|
xhr.onload = function () {
|
|
18167
|
-
if ([401, 403, 404, 500].indexOf(xhr.status) !== -1) {
|
|
18172
|
+
if ([401, 403, 404, 422, 500].indexOf(xhr.status) !== -1) {
|
|
18168
18173
|
error(new NgwError(getResponseText()));
|
|
18169
18174
|
}
|
|
18170
18175
|
processingResponse();
|
|
@@ -18219,7 +18224,7 @@ var NgwLeaflet = (function () {
|
|
|
18219
18224
|
data = new FormData();
|
|
18220
18225
|
data.append('file', options.file);
|
|
18221
18226
|
if (options.data) {
|
|
18222
|
-
for (var d in data) {
|
|
18227
|
+
for (var d in options.data) {
|
|
18223
18228
|
data.append(d, data[d]);
|
|
18224
18229
|
}
|
|
18225
18230
|
}
|
|
@@ -18311,10 +18316,6 @@ var NgwLeaflet = (function () {
|
|
|
18311
18316
|
}
|
|
18312
18317
|
}
|
|
18313
18318
|
|
|
18314
|
-
function isObject(val) {
|
|
18315
|
-
return Object.prototype.toString.call(val) === '[object Object]';
|
|
18316
|
-
}
|
|
18317
|
-
|
|
18318
18319
|
var exclude = ['description'];
|
|
18319
18320
|
/**
|
|
18320
18321
|
* @remarks
|
|
@@ -18565,7 +18566,7 @@ var NgwLeaflet = (function () {
|
|
|
18565
18566
|
ResourcesControl.prototype._fetchResourceById = function (id, requestOptions) {
|
|
18566
18567
|
var _this = this;
|
|
18567
18568
|
var promise = function () {
|
|
18568
|
-
return _this.connector.get('resource.item', requestOptions, { id: id })
|
|
18569
|
+
return _this.connector.get('resource.item', requestOptions, { id: id });
|
|
18569
18570
|
};
|
|
18570
18571
|
return this.cache
|
|
18571
18572
|
.add('resource.item', promise, {
|
|
@@ -18612,7 +18613,7 @@ var NgwLeaflet = (function () {
|
|
|
18612
18613
|
.then(function (apiItems) {
|
|
18613
18614
|
var apiItem = apiItems && apiItems[opt.name];
|
|
18614
18615
|
if (apiItem) {
|
|
18615
|
-
apiItem = __spreadArray([], apiItem);
|
|
18616
|
+
apiItem = __spreadArray([], apiItem, true);
|
|
18616
18617
|
var url = apiItem.shift();
|
|
18617
18618
|
if (apiItem.length) {
|
|
18618
18619
|
var replaceParams = {};
|
|
@@ -18634,12 +18635,12 @@ var NgwLeaflet = (function () {
|
|
|
18634
18635
|
if (Array.isArray(paramList)) {
|
|
18635
18636
|
delete params.paramList;
|
|
18636
18637
|
paramList.forEach(function (x) {
|
|
18637
|
-
paramArray_1.push(x[0]
|
|
18638
|
+
paramArray_1.push("".concat(x[0], "=").concat(x[1]));
|
|
18638
18639
|
});
|
|
18639
18640
|
}
|
|
18640
18641
|
for (var p in params) {
|
|
18641
18642
|
if (apiItem.indexOf(p) === -1) {
|
|
18642
|
-
paramArray_1.push(p
|
|
18643
|
+
paramArray_1.push("".concat(p, "=").concat(params[p]));
|
|
18643
18644
|
}
|
|
18644
18645
|
}
|
|
18645
18646
|
if (paramArray_1.length) {
|
|
@@ -18773,7 +18774,7 @@ var NgwLeaflet = (function () {
|
|
|
18773
18774
|
headers: this.getAuthorizationHeaders(credentials),
|
|
18774
18775
|
// withCredentials: true
|
|
18775
18776
|
};
|
|
18776
|
-
// Do not use
|
|
18777
|
+
// Do not use apiRequest('auth.current_user') to avoid circular-references
|
|
18777
18778
|
return this.makeQuery('/api/component/auth/current_user', {}, options)
|
|
18778
18779
|
.then(function (data) {
|
|
18779
18780
|
_this.user = data;
|
|
@@ -18800,7 +18801,7 @@ var NgwLeaflet = (function () {
|
|
|
18800
18801
|
credentials = credentials || this.options.auth;
|
|
18801
18802
|
if (credentials) {
|
|
18802
18803
|
var login = credentials.login, password = credentials.password;
|
|
18803
|
-
var str = unescape(encodeURIComponent(login
|
|
18804
|
+
var str = unescape(encodeURIComponent("".concat(login, ":").concat(password)));
|
|
18804
18805
|
// @ts-ignore
|
|
18805
18806
|
{
|
|
18806
18807
|
return window.btoa(str);
|
|
@@ -19073,7 +19074,7 @@ var NgwLeaflet = (function () {
|
|
|
19073
19074
|
if (value) {
|
|
19074
19075
|
var propElem = document.createElement('div');
|
|
19075
19076
|
element_1.appendChild(propElem);
|
|
19076
|
-
propElem.innerHTML = "<span>"
|
|
19077
|
+
propElem.innerHTML = "<span>".concat(x.display_name, "</span>: ").concat(value, "<span></span>");
|
|
19077
19078
|
}
|
|
19078
19079
|
}
|
|
19079
19080
|
});
|
|
@@ -19082,7 +19083,7 @@ var NgwLeaflet = (function () {
|
|
|
19082
19083
|
for (var p in feature.properties) {
|
|
19083
19084
|
var propElem = document.createElement('div');
|
|
19084
19085
|
element_1.appendChild(propElem);
|
|
19085
|
-
propElem.innerHTML = "<span>"
|
|
19086
|
+
propElem.innerHTML = "<span>".concat(p, "</span>: ").concat(feature.properties[p], "<span></span>");
|
|
19086
19087
|
}
|
|
19087
19088
|
}
|
|
19088
19089
|
return element_1;
|
|
@@ -19265,15 +19266,15 @@ var NgwLeaflet = (function () {
|
|
|
19265
19266
|
return b;
|
|
19266
19267
|
});
|
|
19267
19268
|
var v = vStart + value + vEnd;
|
|
19268
|
-
return [""
|
|
19269
|
+
return ["".concat(isFldStr).concat(field_, "__").concat(operation), v];
|
|
19269
19270
|
};
|
|
19270
19271
|
if (logic === 'any') {
|
|
19271
19272
|
filters_.forEach(function (f) {
|
|
19272
19273
|
if (isPropertyFilter(f)) {
|
|
19273
|
-
_queries.push(fetchNgwLayerItemsRequest(__assign(__assign({}, opt), { paramList: __spreadArray(__spreadArray([], _parentAllParams, true), [createParam(f)]) })));
|
|
19274
|
+
_queries.push(fetchNgwLayerItemsRequest(__assign(__assign({}, opt), { paramList: __spreadArray(__spreadArray([], _parentAllParams, true), [createParam(f)], false) })));
|
|
19274
19275
|
}
|
|
19275
19276
|
else {
|
|
19276
|
-
createFeatureFieldFilterQueries(__assign(__assign({}, opt), { filters: f }), _queries, __spreadArray([], _parentAllParams));
|
|
19277
|
+
createFeatureFieldFilterQueries(__assign(__assign({}, opt), { filters: f }), _queries, __spreadArray([], _parentAllParams, true));
|
|
19277
19278
|
}
|
|
19278
19279
|
});
|
|
19279
19280
|
}
|
|
@@ -19292,11 +19293,11 @@ var NgwLeaflet = (function () {
|
|
|
19292
19293
|
if (propertiesFilterList.length) {
|
|
19293
19294
|
for (var _a = 0, propertiesFilterList_1 = propertiesFilterList; _a < propertiesFilterList_1.length; _a++) {
|
|
19294
19295
|
var x = propertiesFilterList_1[_a];
|
|
19295
|
-
createFeatureFieldFilterQueries(__assign(__assign({}, opt), { filters: x }), _queries, __spreadArray(__spreadArray([], _parentAllParams, true), filters_2));
|
|
19296
|
+
createFeatureFieldFilterQueries(__assign(__assign({}, opt), { filters: x }), _queries, __spreadArray(__spreadArray([], _parentAllParams, true), filters_2, true));
|
|
19296
19297
|
}
|
|
19297
19298
|
}
|
|
19298
19299
|
else {
|
|
19299
|
-
_queries.push(fetchNgwLayerItemsRequest(__assign(__assign({}, opt), { paramList: __spreadArray(__spreadArray([], _parentAllParams, true), filters_2) })));
|
|
19300
|
+
_queries.push(fetchNgwLayerItemsRequest(__assign(__assign({}, opt), { paramList: __spreadArray(__spreadArray([], _parentAllParams, true), filters_2, true) })));
|
|
19300
19301
|
}
|
|
19301
19302
|
}
|
|
19302
19303
|
return CancelablePromise.all(_queries).then(function (itemsParts) {
|
|
@@ -19315,7 +19316,7 @@ var NgwLeaflet = (function () {
|
|
|
19315
19316
|
var _b = degrees2meters(lng, lat), x = _b[0], y = _b[1];
|
|
19316
19317
|
return x + ' ' + y;
|
|
19317
19318
|
});
|
|
19318
|
-
return "POLYGON(("
|
|
19319
|
+
return "POLYGON((".concat(polygon.join(', '), "))");
|
|
19319
19320
|
}
|
|
19320
19321
|
function fetchNgwLayerItemsRequest(options) {
|
|
19321
19322
|
var params = __assign({}, FEATURE_REQUEST_PARAMS);
|
|
@@ -19370,7 +19371,7 @@ var NgwLeaflet = (function () {
|
|
|
19370
19371
|
dt_1.push(x);
|
|
19371
19372
|
});
|
|
19372
19373
|
}
|
|
19373
|
-
fields[f] = new (Date.bind.apply(Date, __spreadArray([void 0], dt_1)))().toISOString();
|
|
19374
|
+
fields[f] = new (Date.bind.apply(Date, __spreadArray([void 0], dt_1, false)))().toISOString();
|
|
19374
19375
|
}
|
|
19375
19376
|
}
|
|
19376
19377
|
};
|
|
@@ -19775,7 +19776,7 @@ var NgwLeaflet = (function () {
|
|
|
19775
19776
|
}
|
|
19776
19777
|
}
|
|
19777
19778
|
if (adapter === 'WMS') {
|
|
19778
|
-
url = baseUrl
|
|
19779
|
+
url = "".concat(baseUrl, "/api/resource/").concat(resourceId, "/wms");
|
|
19779
19780
|
var adapterOptions = options.adapterOptions;
|
|
19780
19781
|
return {
|
|
19781
19782
|
url: url,
|
|
@@ -19799,12 +19800,12 @@ var NgwLeaflet = (function () {
|
|
|
19799
19800
|
};
|
|
19800
19801
|
}
|
|
19801
19802
|
if (adapter === 'TERRAIN') {
|
|
19802
|
-
url = baseUrl +
|
|
19803
|
+
url = baseUrl + "/api/resource/".concat(resourceId, "/terrain_provider");
|
|
19803
19804
|
// `/api/resource/${resourceId}/terrain_provider/{z}/{x}/{y}.terrain`;
|
|
19804
19805
|
return { url: url, adapter: adapter };
|
|
19805
19806
|
}
|
|
19806
19807
|
if (adapter === 'MODEL_3D') {
|
|
19807
|
-
url = baseUrl +
|
|
19808
|
+
url = baseUrl + "/api/component/model_3d/".concat(resourceId, "/data.glb");
|
|
19808
19809
|
return { url: url };
|
|
19809
19810
|
}
|
|
19810
19811
|
if (adapter === 'TILE') {
|
|
@@ -20090,7 +20091,7 @@ var NgwLeaflet = (function () {
|
|
|
20090
20091
|
});
|
|
20091
20092
|
};
|
|
20092
20093
|
TreeHelper.prototype.getChildren = function () {
|
|
20093
|
-
return __spreadArray([], this._children);
|
|
20094
|
+
return __spreadArray([], this._children, true);
|
|
20094
20095
|
};
|
|
20095
20096
|
return TreeHelper;
|
|
20096
20097
|
}());
|
|
@@ -20612,7 +20613,7 @@ var NgwLeaflet = (function () {
|
|
|
20612
20613
|
return options;
|
|
20613
20614
|
};
|
|
20614
20615
|
NgwWebmapItem.prototype.getChildren = function (item) {
|
|
20615
|
-
return __spreadArray([], item.children).reverse();
|
|
20616
|
+
return __spreadArray([], item.children, true).reverse();
|
|
20616
20617
|
};
|
|
20617
20618
|
NgwWebmapItem.prototype._mapScaleToZoomLevel = function (scale) {
|
|
20618
20619
|
return setScaleRatio(scale);
|
|
@@ -20932,16 +20933,25 @@ var NgwLeaflet = (function () {
|
|
|
20932
20933
|
}
|
|
20933
20934
|
}
|
|
20934
20935
|
NgwWebmapLayerAdapter.prototype.addLayer = function (options) {
|
|
20936
|
+
var _a, _b;
|
|
20935
20937
|
return __awaiter(this, void 0, void 0, function () {
|
|
20936
|
-
var
|
|
20937
|
-
return __generator(this, function (
|
|
20938
|
-
switch (
|
|
20938
|
+
var _c, extentConstrained;
|
|
20939
|
+
return __generator(this, function (_d) {
|
|
20940
|
+
switch (_d.label) {
|
|
20939
20941
|
case 0:
|
|
20940
20942
|
this.options = __assign(__assign({}, this.options), options);
|
|
20941
|
-
|
|
20943
|
+
_c = this;
|
|
20942
20944
|
return [4 /*yield*/, this._getWebMapLayerItem()];
|
|
20943
20945
|
case 1:
|
|
20944
|
-
|
|
20946
|
+
_c.layer = _d.sent();
|
|
20947
|
+
extentConstrained = (_b = (_a = this.response) === null || _a === void 0 ? void 0 : _a.webmap) === null || _b === void 0 ? void 0 : _b.extent_constrained;
|
|
20948
|
+
if (this.options.useExtentConstrained &&
|
|
20949
|
+
this._extent &&
|
|
20950
|
+
extentConstrained) {
|
|
20951
|
+
this.options.webMap.setView({ maxBounds: this._extent });
|
|
20952
|
+
// @ts-ignore
|
|
20953
|
+
window.webmap = this.options.webMap;
|
|
20954
|
+
}
|
|
20945
20955
|
return [2 /*return*/, this.layer];
|
|
20946
20956
|
}
|
|
20947
20957
|
});
|
|
@@ -20964,6 +20974,9 @@ var NgwLeaflet = (function () {
|
|
|
20964
20974
|
this.options.webMap.showLayer(this._lastActiveBaselayer);
|
|
20965
20975
|
}
|
|
20966
20976
|
}
|
|
20977
|
+
if (this.options.useExtentConstrained && this._extent) {
|
|
20978
|
+
this.options.webMap.setView({ maxBounds: null });
|
|
20979
|
+
}
|
|
20967
20980
|
delete this.layer;
|
|
20968
20981
|
delete this.response;
|
|
20969
20982
|
delete this._webmapLayersIds;
|
|
@@ -21646,7 +21659,7 @@ var NgwLeaflet = (function () {
|
|
|
21646
21659
|
}
|
|
21647
21660
|
}
|
|
21648
21661
|
else {
|
|
21649
|
-
throw "Resource class '"
|
|
21662
|
+
throw "Resource class '".concat(cls, "' not yet supported.");
|
|
21650
21663
|
}
|
|
21651
21664
|
_a.label = 13;
|
|
21652
21665
|
case 13: return [3 /*break*/, 15];
|
|
@@ -22007,7 +22020,7 @@ var NgwLeaflet = (function () {
|
|
|
22007
22020
|
var _b = degrees2meters(lng, lat), x = _b[0], y = _b[1];
|
|
22008
22021
|
polygon.push(x + ' ' + y);
|
|
22009
22022
|
});
|
|
22010
|
-
var wkt = "POLYGON(("
|
|
22023
|
+
var wkt = "POLYGON((".concat(polygon.join(', '), "))");
|
|
22011
22024
|
var layers = options.layers;
|
|
22012
22025
|
var data = {
|
|
22013
22026
|
geom: wkt,
|
|
@@ -22097,7 +22110,7 @@ var NgwLeaflet = (function () {
|
|
|
22097
22110
|
function insertSvg(width, height, stroke, content) {
|
|
22098
22111
|
if (stroke === void 0) { stroke = 0; }
|
|
22099
22112
|
var s = stroke / 2;
|
|
22100
|
-
var svg = "<svg\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\""
|
|
22113
|
+
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
22114
|
var oParser = new DOMParser();
|
|
22102
22115
|
var oDOM = oParser.parseFromString(svg, 'image/svg+xml');
|
|
22103
22116
|
return oDOM.documentElement;
|
|
@@ -22117,7 +22130,7 @@ var NgwLeaflet = (function () {
|
|
|
22117
22130
|
var path = typeof pathAlias === 'string' ? pathAlias : pathAlias(opt);
|
|
22118
22131
|
var svg = insertSvg(size, size, stroke * scale, path);
|
|
22119
22132
|
var fistChild = svg.firstChild;
|
|
22120
|
-
var transform = "scale("
|
|
22133
|
+
var transform = "scale(".concat(scale, ")");
|
|
22121
22134
|
fistChild.setAttribute('fill', color);
|
|
22122
22135
|
if (stroke) {
|
|
22123
22136
|
fistChild.setAttribute('stroke', strokeColor);
|
|
@@ -22338,7 +22351,7 @@ var NgwLeaflet = (function () {
|
|
|
22338
22351
|
resId = isObject$1(resource) && 'id' in resource
|
|
22339
22352
|
? resource.id
|
|
22340
22353
|
: keyname || resourceId || resource;
|
|
22341
|
-
console.error("Can't add NGW layer "
|
|
22354
|
+
console.error("Can't add NGW layer ".concat(resId, "."), er_1);
|
|
22342
22355
|
return [3 /*break*/, 5];
|
|
22343
22356
|
case 5: return [2 /*return*/];
|
|
22344
22357
|
}
|
|
@@ -22732,7 +22745,7 @@ var NgwLeaflet = (function () {
|
|
|
22732
22745
|
var identifyFeature = {
|
|
22733
22746
|
id: Number(featureId),
|
|
22734
22747
|
fields: feature.properties || {},
|
|
22735
|
-
label: "#"
|
|
22748
|
+
label: "#".concat(id),
|
|
22736
22749
|
layerId: Number(id),
|
|
22737
22750
|
parent: '',
|
|
22738
22751
|
geom: feature.geometry,
|
|
@@ -24020,7 +24033,7 @@ var NgwLeaflet = (function () {
|
|
|
24020
24033
|
a[_i] = arguments[_i];
|
|
24021
24034
|
}
|
|
24022
24035
|
// @ts-ignore
|
|
24023
|
-
(_a = leafletSrc.exports.GridLayer.prototype._update).call.apply(_a, __spreadArray([_this], a));
|
|
24036
|
+
(_a = leafletSrc.exports.GridLayer.prototype._update).call.apply(_a, __spreadArray([_this], a, false));
|
|
24024
24037
|
}, _this.options.setViewDelay);
|
|
24025
24038
|
}
|
|
24026
24039
|
return _this;
|
|
@@ -24197,6 +24210,7 @@ var NgwLeaflet = (function () {
|
|
|
24197
24210
|
if (this.map) {
|
|
24198
24211
|
this.map.remove();
|
|
24199
24212
|
}
|
|
24213
|
+
this._stopWatchSizeChangeToUpdateMinZoom();
|
|
24200
24214
|
};
|
|
24201
24215
|
LeafletMapAdapter.prototype.getContainer = function () {
|
|
24202
24216
|
return this.map && this.map.getContainer();
|
|
@@ -24247,17 +24261,22 @@ var NgwLeaflet = (function () {
|
|
|
24247
24261
|
}
|
|
24248
24262
|
if (maxBounds !== undefined) {
|
|
24249
24263
|
if (maxBounds) {
|
|
24250
|
-
|
|
24264
|
+
var b = arrayToBoundsExpression(maxBounds);
|
|
24265
|
+
map.setMaxBounds(b);
|
|
24266
|
+
map.setMinZoom(map.getBoundsZoom(b));
|
|
24267
|
+
this._watchSizeChangeToUpdateMinZoom(b);
|
|
24251
24268
|
}
|
|
24252
24269
|
else {
|
|
24253
24270
|
// @ts-ignore `null` works for unset maxBounds, but not in typing
|
|
24254
24271
|
map.setMaxBounds(null);
|
|
24272
|
+
this._stopWatchSizeChangeToUpdateMinZoom();
|
|
24255
24273
|
}
|
|
24256
24274
|
}
|
|
24257
24275
|
if (maxZoom !== undefined) {
|
|
24258
24276
|
map.setMaxZoom(maxZoom);
|
|
24259
24277
|
}
|
|
24260
24278
|
if (minZoom !== undefined) {
|
|
24279
|
+
this._stopWatchSizeChangeToUpdateMinZoom();
|
|
24261
24280
|
map.setMinZoom(minZoom);
|
|
24262
24281
|
}
|
|
24263
24282
|
}
|
|
@@ -24394,6 +24413,27 @@ var NgwLeaflet = (function () {
|
|
|
24394
24413
|
this._unselectCb.length = 0;
|
|
24395
24414
|
this._unselectCb.push(cb);
|
|
24396
24415
|
};
|
|
24416
|
+
LeafletMapAdapter.prototype._watchSizeChangeToUpdateMinZoom = function (bounds) {
|
|
24417
|
+
this._stopWatchSizeChangeToUpdateMinZoom();
|
|
24418
|
+
var container = this.getContainer();
|
|
24419
|
+
var map = this.map;
|
|
24420
|
+
if (container && map && window.ResizeObserver) {
|
|
24421
|
+
this._resizeObserver = new ResizeObserver(function () {
|
|
24422
|
+
map.setMinZoom(map.getBoundsZoom(bounds));
|
|
24423
|
+
});
|
|
24424
|
+
this._resizeObserver.observe(container);
|
|
24425
|
+
}
|
|
24426
|
+
};
|
|
24427
|
+
LeafletMapAdapter.prototype._stopWatchSizeChangeToUpdateMinZoom = function () {
|
|
24428
|
+
var map = this.map;
|
|
24429
|
+
if (map) {
|
|
24430
|
+
map.setMinZoom(0);
|
|
24431
|
+
}
|
|
24432
|
+
if (this._resizeObserver) {
|
|
24433
|
+
this._resizeObserver.disconnect();
|
|
24434
|
+
this._resizeObserver = undefined;
|
|
24435
|
+
}
|
|
24436
|
+
};
|
|
24397
24437
|
LeafletMapAdapter.prototype._addMapListeners = function () {
|
|
24398
24438
|
var _this = this;
|
|
24399
24439
|
var map = this.map;
|