@hpcc-js/map 2.77.0 → 2.77.2
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/dist/index.es6.js +501 -218
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +501 -218
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +3 -3
- package/dist/index.min.js.map +1 -1
- package/package.json +10 -10
- package/src/__package__.ts +2 -2
- package/types/__package__.d.ts +2 -2
- package/types-3.4/__package__.d.ts +2 -2
package/dist/index.es6.js
CHANGED
|
@@ -21,8 +21,8 @@ function _mergeNamespaces(n, m) {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
var PKG_NAME = "@hpcc-js/map";
|
|
24
|
-
var PKG_VERSION = "2.77.
|
|
25
|
-
var BUILD_VERSION = "2.104.
|
|
24
|
+
var PKG_VERSION = "2.77.2";
|
|
25
|
+
var BUILD_VERSION = "2.104.14";
|
|
26
26
|
|
|
27
27
|
/******************************************************************************
|
|
28
28
|
Copyright (c) Microsoft Corporation.
|
|
@@ -7886,7 +7886,7 @@ var ___CSS_LOADER_URL_REPLACEMENT_0___ = _css_loader_dist_runtime_getUrl_js__WEB
|
|
|
7886
7886
|
var ___CSS_LOADER_URL_REPLACEMENT_1___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_1___);
|
|
7887
7887
|
var ___CSS_LOADER_URL_REPLACEMENT_2___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_2___);
|
|
7888
7888
|
// Module
|
|
7889
|
-
___CSS_LOADER_EXPORT___.push([module.id, "/* required styles */\r\n\r\n.leaflet-pane,\r\n.leaflet-tile,\r\n.leaflet-marker-icon,\r\n.leaflet-marker-shadow,\r\n.leaflet-tile-container,\r\n.leaflet-pane > svg,\r\n.leaflet-pane > canvas,\r\n.leaflet-zoom-box,\r\n.leaflet-image-layer,\r\n.leaflet-layer {\r\n\tposition: absolute;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\t}\r\n.leaflet-container {\r\n\toverflow: hidden;\r\n\t}\r\n.leaflet-tile,\r\n.leaflet-marker-icon,\r\n.leaflet-marker-shadow {\r\n\t-webkit-user-select: none;\r\n\t -moz-user-select: none;\r\n\t user-select: none;\r\n\t -webkit-user-drag: none;\r\n\t}\r\n/* Prevents IE11 from highlighting tiles in blue */\r\n.leaflet-tile::selection {\r\n\tbackground: transparent;\r\n}\r\n/* Safari renders non-retina tile on retina better with this, but Chrome is worse */\r\n.leaflet-safari .leaflet-tile {\r\n\timage-rendering: -webkit-optimize-contrast;\r\n\t}\r\n/* hack that prevents hw layers \"stretching\" when loading new tiles */\r\n.leaflet-safari .leaflet-tile-container {\r\n\twidth: 1600px;\r\n\theight: 1600px;\r\n\t-webkit-transform-origin: 0 0;\r\n\t}\r\n.leaflet-marker-icon,\r\n.leaflet-marker-shadow {\r\n\tdisplay: block;\r\n\t}\r\n/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */\r\n/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */\r\n.leaflet-container .leaflet-overlay-pane svg {\r\n\tmax-width: none !important;\r\n\tmax-height: none !important;\r\n\t}\r\n.leaflet-container .leaflet-marker-pane img,\r\n.leaflet-container .leaflet-shadow-pane img,\r\n.leaflet-container .leaflet-tile-pane img,\r\n.leaflet-container img.leaflet-image-layer,\r\n.leaflet-container .leaflet-tile {\r\n\tmax-width: none !important;\r\n\tmax-height: none !important;\r\n\twidth: auto;\r\n\tpadding: 0;\r\n\t}\r\n\r\n.leaflet-container.leaflet-touch-zoom {\r\n\t-ms-touch-action: pan-x pan-y;\r\n\ttouch-action: pan-x pan-y;\r\n\t}\r\n.leaflet-container.leaflet-touch-drag {\r\n\t-ms-touch-action: pinch-zoom;\r\n\t/* Fallback for FF which doesn't support pinch-zoom */\r\n\ttouch-action: none;\r\n\ttouch-action: pinch-zoom;\r\n}\r\n.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {\r\n\t-ms-touch-action: none;\r\n\ttouch-action: none;\r\n}\r\n.leaflet-container {\r\n\t-webkit-tap-highlight-color: transparent;\r\n}\r\n.leaflet-container a {\r\n\t-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);\r\n}\r\n.leaflet-tile {\r\n\tfilter: inherit;\r\n\tvisibility: hidden;\r\n\t}\r\n.leaflet-tile-loaded {\r\n\tvisibility: inherit;\r\n\t}\r\n.leaflet-zoom-box {\r\n\twidth: 0;\r\n\theight: 0;\r\n\t-moz-box-sizing: border-box;\r\n\t box-sizing: border-box;\r\n\tz-index: 800;\r\n\t}\r\n/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */\r\n.leaflet-overlay-pane svg {\r\n\t-moz-user-select: none;\r\n\t}\r\n\r\n.leaflet-pane { z-index: 400; }\r\n\r\n.leaflet-tile-pane { z-index: 200; }\r\n.leaflet-overlay-pane { z-index: 400; }\r\n.leaflet-shadow-pane { z-index: 500; }\r\n.leaflet-marker-pane { z-index: 600; }\r\n.leaflet-tooltip-pane { z-index: 650; }\r\n.leaflet-popup-pane { z-index: 700; }\r\n\r\n.leaflet-map-pane canvas { z-index: 100; }\r\n.leaflet-map-pane svg { z-index: 200; }\r\n\r\n.leaflet-vml-shape {\r\n\twidth: 1px;\r\n\theight: 1px;\r\n\t}\r\n.lvml {\r\n\tbehavior: url(#default#VML);\r\n\tdisplay: inline-block;\r\n\tposition: absolute;\r\n\t}\r\n\r\n\r\n/* control positioning */\r\n\r\n.leaflet-control {\r\n\tposition: relative;\r\n\tz-index: 800;\r\n\tpointer-events: visiblePainted; /* IE 9-10 doesn't have auto */\r\n\tpointer-events: auto;\r\n\t}\r\n.leaflet-top,\r\n.leaflet-bottom {\r\n\tposition: absolute;\r\n\tz-index: 1000;\r\n\tpointer-events: none;\r\n\t}\r\n.leaflet-top {\r\n\ttop: 0;\r\n\t}\r\n.leaflet-right {\r\n\tright: 0;\r\n\t}\r\n.leaflet-bottom {\r\n\tbottom: 0;\r\n\t}\r\n.leaflet-left {\r\n\tleft: 0;\r\n\t}\r\n.leaflet-control {\r\n\tfloat: left;\r\n\tclear: both;\r\n\t}\r\n.leaflet-right .leaflet-control {\r\n\tfloat: right;\r\n\t}\r\n.leaflet-top .leaflet-control {\r\n\tmargin-top: 10px;\r\n\t}\r\n.leaflet-bottom .leaflet-control {\r\n\tmargin-bottom: 10px;\r\n\t}\r\n.leaflet-left .leaflet-control {\r\n\tmargin-left: 10px;\r\n\t}\r\n.leaflet-right .leaflet-control {\r\n\tmargin-right: 10px;\r\n\t}\r\n\r\n\r\n/* zoom and fade animations */\r\n\r\n.leaflet-fade-anim .leaflet-popup {\r\n\topacity: 0;\r\n\t-webkit-transition: opacity 0.2s linear;\r\n\t -moz-transition: opacity 0.2s linear;\r\n\t transition: opacity 0.2s linear;\r\n\t}\r\n.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {\r\n\topacity: 1;\r\n\t}\r\n.leaflet-zoom-animated {\r\n\t-webkit-transform-origin: 0 0;\r\n\t -ms-transform-origin: 0 0;\r\n\t transform-origin: 0 0;\r\n\t}\r\nsvg.leaflet-zoom-animated {\r\n\twill-change: transform;\r\n}\r\n\r\n.leaflet-zoom-anim .leaflet-zoom-animated {\r\n\t-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);\r\n\t -moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1);\r\n\t transition: transform 0.25s cubic-bezier(0,0,0.25,1);\r\n\t}\r\n.leaflet-zoom-anim .leaflet-tile,\r\n.leaflet-pan-anim .leaflet-tile {\r\n\t-webkit-transition: none;\r\n\t -moz-transition: none;\r\n\t transition: none;\r\n\t}\r\n\r\n.leaflet-zoom-anim .leaflet-zoom-hide {\r\n\tvisibility: hidden;\r\n\t}\r\n\r\n\r\n/* cursors */\r\n\r\n.leaflet-interactive {\r\n\tcursor: pointer;\r\n\t}\r\n.leaflet-grab {\r\n\tcursor: -webkit-grab;\r\n\tcursor: -moz-grab;\r\n\tcursor: grab;\r\n\t}\r\n.leaflet-crosshair,\r\n.leaflet-crosshair .leaflet-interactive {\r\n\tcursor: crosshair;\r\n\t}\r\n.leaflet-popup-pane,\r\n.leaflet-control {\r\n\tcursor: auto;\r\n\t}\r\n.leaflet-dragging .leaflet-grab,\r\n.leaflet-dragging .leaflet-grab .leaflet-interactive,\r\n.leaflet-dragging .leaflet-marker-draggable {\r\n\tcursor: move;\r\n\tcursor: -webkit-grabbing;\r\n\tcursor: -moz-grabbing;\r\n\tcursor: grabbing;\r\n\t}\r\n\r\n/* marker & overlays interactivity */\r\n.leaflet-marker-icon,\r\n.leaflet-marker-shadow,\r\n.leaflet-image-layer,\r\n.leaflet-pane > svg path,\r\n.leaflet-tile-container {\r\n\tpointer-events: none;\r\n\t}\r\n\r\n.leaflet-marker-icon.leaflet-interactive,\r\n.leaflet-image-layer.leaflet-interactive,\r\n.leaflet-pane > svg path.leaflet-interactive,\r\nsvg.leaflet-image-layer.leaflet-interactive path {\r\n\tpointer-events: visiblePainted; /* IE 9-10 doesn't have auto */\r\n\tpointer-events: auto;\r\n\t}\r\n\r\n/* visual tweaks */\r\n\r\n.leaflet-container {\r\n\tbackground: #ddd;\r\n\toutline-offset: 1px;\r\n\t}\r\n.leaflet-container a {\r\n\tcolor: #0078A8;\r\n\t}\r\n.leaflet-zoom-box {\r\n\tborder: 2px dotted #38f;\r\n\tbackground: rgba(255,255,255,0.5);\r\n\t}\r\n\r\n\r\n/* general typography */\r\n.leaflet-container {\r\n\tfont-family: \"Helvetica Neue\", Arial, Helvetica, sans-serif;\r\n\tfont-size: 12px;\r\n\tfont-size: 0.75rem;\r\n\tline-height: 1.5;\r\n\t}\r\n\r\n\r\n/* general toolbar styles */\r\n\r\n.leaflet-bar {\r\n\tbox-shadow: 0 1px 5px rgba(0,0,0,0.65);\r\n\tborder-radius: 4px;\r\n\t}\r\n.leaflet-bar a {\r\n\tbackground-color: #fff;\r\n\tborder-bottom: 1px solid #ccc;\r\n\twidth: 26px;\r\n\theight: 26px;\r\n\tline-height: 26px;\r\n\tdisplay: block;\r\n\ttext-align: center;\r\n\ttext-decoration: none;\r\n\tcolor: black;\r\n\t}\r\n.leaflet-bar a,\r\n.leaflet-control-layers-toggle {\r\n\tbackground-position: 50% 50%;\r\n\tbackground-repeat: no-repeat;\r\n\tdisplay: block;\r\n\t}\r\n.leaflet-bar a:hover,\r\n.leaflet-bar a:focus {\r\n\tbackground-color: #f4f4f4;\r\n\t}\r\n.leaflet-bar a:first-child {\r\n\tborder-top-left-radius: 4px;\r\n\tborder-top-right-radius: 4px;\r\n\t}\r\n.leaflet-bar a:last-child {\r\n\tborder-bottom-left-radius: 4px;\r\n\tborder-bottom-right-radius: 4px;\r\n\tborder-bottom: none;\r\n\t}\r\n.leaflet-bar a.leaflet-disabled {\r\n\tcursor: default;\r\n\tbackground-color: #f4f4f4;\r\n\tcolor: #bbb;\r\n\t}\r\n\r\n.leaflet-touch .leaflet-bar a {\r\n\twidth: 30px;\r\n\theight: 30px;\r\n\tline-height: 30px;\r\n\t}\r\n.leaflet-touch .leaflet-bar a:first-child {\r\n\tborder-top-left-radius: 2px;\r\n\tborder-top-right-radius: 2px;\r\n\t}\r\n.leaflet-touch .leaflet-bar a:last-child {\r\n\tborder-bottom-left-radius: 2px;\r\n\tborder-bottom-right-radius: 2px;\r\n\t}\r\n\r\n/* zoom control */\r\n\r\n.leaflet-control-zoom-in,\r\n.leaflet-control-zoom-out {\r\n\tfont: bold 18px 'Lucida Console', Monaco, monospace;\r\n\ttext-indent: 1px;\r\n\t}\r\n\r\n.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out {\r\n\tfont-size: 22px;\r\n\t}\r\n\r\n\r\n/* layers control */\r\n\r\n.leaflet-control-layers {\r\n\tbox-shadow: 0 1px 5px rgba(0,0,0,0.4);\r\n\tbackground: #fff;\r\n\tborder-radius: 5px;\r\n\t}\r\n.leaflet-control-layers-toggle {\r\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");\r\n\twidth: 36px;\r\n\theight: 36px;\r\n\t}\r\n.leaflet-retina .leaflet-control-layers-toggle {\r\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ");\r\n\tbackground-size: 26px 26px;\r\n\t}\r\n.leaflet-touch .leaflet-control-layers-toggle {\r\n\twidth: 44px;\r\n\theight: 44px;\r\n\t}\r\n.leaflet-control-layers .leaflet-control-layers-list,\r\n.leaflet-control-layers-expanded .leaflet-control-layers-toggle {\r\n\tdisplay: none;\r\n\t}\r\n.leaflet-control-layers-expanded .leaflet-control-layers-list {\r\n\tdisplay: block;\r\n\tposition: relative;\r\n\t}\r\n.leaflet-control-layers-expanded {\r\n\tpadding: 6px 10px 6px 6px;\r\n\tcolor: #333;\r\n\tbackground: #fff;\r\n\t}\r\n.leaflet-control-layers-scrollbar {\r\n\toverflow-y: scroll;\r\n\toverflow-x: hidden;\r\n\tpadding-right: 5px;\r\n\t}\r\n.leaflet-control-layers-selector {\r\n\tmargin-top: 2px;\r\n\tposition: relative;\r\n\ttop: 1px;\r\n\t}\r\n.leaflet-control-layers label {\r\n\tdisplay: block;\r\n\tfont-size: 13px;\r\n\tfont-size: 1.08333em;\r\n\t}\r\n.leaflet-control-layers-separator {\r\n\theight: 0;\r\n\tborder-top: 1px solid #ddd;\r\n\tmargin: 5px -10px 5px -6px;\r\n\t}\r\n\r\n/* Default icon URLs */\r\n.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */\r\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_2___ + ");\r\n\t}\r\n\r\n\r\n/* attribution and scale controls */\r\n\r\n.leaflet-container .leaflet-control-attribution {\r\n\tbackground: #fff;\r\n\tbackground: rgba(255, 255, 255, 0.8);\r\n\tmargin: 0;\r\n\t}\r\n.leaflet-control-attribution,\r\n.leaflet-control-scale-line {\r\n\tpadding: 0 5px;\r\n\tcolor: #333;\r\n\tline-height: 1.4;\r\n\t}\r\n.leaflet-control-attribution a {\r\n\ttext-decoration: none;\r\n\t}\r\n.leaflet-control-attribution a:hover,\r\n.leaflet-control-attribution a:focus {\r\n\ttext-decoration: underline;\r\n\t}\r\n.leaflet-control-attribution svg {\r\n\tdisplay: inline !important;\r\n\t}\r\n.leaflet-left .leaflet-control-scale {\r\n\tmargin-left: 5px;\r\n\t}\r\n.leaflet-bottom .leaflet-control-scale {\r\n\tmargin-bottom: 5px;\r\n\t}\r\n.leaflet-control-scale-line {\r\n\tborder: 2px solid #777;\r\n\tborder-top: none;\r\n\tline-height: 1.1;\r\n\tpadding: 2px 5px 1px;\r\n\twhite-space: nowrap;\r\n\toverflow: hidden;\r\n\t-moz-box-sizing: border-box;\r\n\t box-sizing: border-box;\r\n\r\n\tbackground: #fff;\r\n\tbackground: rgba(255, 255, 255, 0.5);\r\n\t}\r\n.leaflet-control-scale-line:not(:first-child) {\r\n\tborder-top: 2px solid #777;\r\n\tborder-bottom: none;\r\n\tmargin-top: -2px;\r\n\t}\r\n.leaflet-control-scale-line:not(:first-child):not(:last-child) {\r\n\tborder-bottom: 2px solid #777;\r\n\t}\r\n\r\n.leaflet-touch .leaflet-control-attribution,\r\n.leaflet-touch .leaflet-control-layers,\r\n.leaflet-touch .leaflet-bar {\r\n\tbox-shadow: none;\r\n\t}\r\n.leaflet-touch .leaflet-control-layers,\r\n.leaflet-touch .leaflet-bar {\r\n\tborder: 2px solid rgba(0,0,0,0.2);\r\n\tbackground-clip: padding-box;\r\n\t}\r\n\r\n\r\n/* popup */\r\n\r\n.leaflet-popup {\r\n\tposition: absolute;\r\n\ttext-align: center;\r\n\tmargin-bottom: 20px;\r\n\t}\r\n.leaflet-popup-content-wrapper {\r\n\tpadding: 1px;\r\n\ttext-align: left;\r\n\tborder-radius: 12px;\r\n\t}\r\n.leaflet-popup-content {\r\n\tmargin: 13px 24px 13px 20px;\r\n\tline-height: 1.3;\r\n\tfont-size: 13px;\r\n\tfont-size: 1.08333em;\r\n\tmin-height: 1px;\r\n\t}\r\n.leaflet-popup-content p {\r\n\tmargin: 17px 0;\r\n\tmargin: 1.3em 0;\r\n\t}\r\n.leaflet-popup-tip-container {\r\n\twidth: 40px;\r\n\theight: 20px;\r\n\tposition: absolute;\r\n\tleft: 50%;\r\n\tmargin-top: -1px;\r\n\tmargin-left: -20px;\r\n\toverflow: hidden;\r\n\tpointer-events: none;\r\n\t}\r\n.leaflet-popup-tip {\r\n\twidth: 17px;\r\n\theight: 17px;\r\n\tpadding: 1px;\r\n\r\n\tmargin: -10px auto 0;\r\n\tpointer-events: auto;\r\n\r\n\t-webkit-transform: rotate(45deg);\r\n\t -moz-transform: rotate(45deg);\r\n\t -ms-transform: rotate(45deg);\r\n\t transform: rotate(45deg);\r\n\t}\r\n.leaflet-popup-content-wrapper,\r\n.leaflet-popup-tip {\r\n\tbackground: white;\r\n\tcolor: #333;\r\n\tbox-shadow: 0 3px 14px rgba(0,0,0,0.4);\r\n\t}\r\n.leaflet-container a.leaflet-popup-close-button {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\tright: 0;\r\n\tborder: none;\r\n\ttext-align: center;\r\n\twidth: 24px;\r\n\theight: 24px;\r\n\tfont: 16px/24px Tahoma, Verdana, sans-serif;\r\n\tcolor: #757575;\r\n\ttext-decoration: none;\r\n\tbackground: transparent;\r\n\t}\r\n.leaflet-container a.leaflet-popup-close-button:hover,\r\n.leaflet-container a.leaflet-popup-close-button:focus {\r\n\tcolor: #585858;\r\n\t}\r\n.leaflet-popup-scrolled {\r\n\toverflow: auto;\r\n\tborder-bottom: 1px solid #ddd;\r\n\tborder-top: 1px solid #ddd;\r\n\t}\r\n\r\n.leaflet-oldie .leaflet-popup-content-wrapper {\r\n\t-ms-zoom: 1;\r\n\t}\r\n.leaflet-oldie .leaflet-popup-tip {\r\n\twidth: 24px;\r\n\tmargin: 0 auto;\r\n\r\n\t-ms-filter: \"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)\";\r\n\tfilter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);\r\n\t}\r\n\r\n.leaflet-oldie .leaflet-control-zoom,\r\n.leaflet-oldie .leaflet-control-layers,\r\n.leaflet-oldie .leaflet-popup-content-wrapper,\r\n.leaflet-oldie .leaflet-popup-tip {\r\n\tborder: 1px solid #999;\r\n\t}\r\n\r\n\r\n/* div icon */\r\n\r\n.leaflet-div-icon {\r\n\tbackground: #fff;\r\n\tborder: 1px solid #666;\r\n\t}\r\n\r\n\r\n/* Tooltip */\r\n/* Base styles for the element that has a tooltip */\r\n.leaflet-tooltip {\r\n\tposition: absolute;\r\n\tpadding: 6px;\r\n\tbackground-color: #fff;\r\n\tborder: 1px solid #fff;\r\n\tborder-radius: 3px;\r\n\tcolor: #222;\r\n\twhite-space: nowrap;\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n\tuser-select: none;\r\n\tpointer-events: none;\r\n\tbox-shadow: 0 1px 3px rgba(0,0,0,0.4);\r\n\t}\r\n.leaflet-tooltip.leaflet-interactive {\r\n\tcursor: pointer;\r\n\tpointer-events: auto;\r\n\t}\r\n.leaflet-tooltip-top:before,\r\n.leaflet-tooltip-bottom:before,\r\n.leaflet-tooltip-left:before,\r\n.leaflet-tooltip-right:before {\r\n\tposition: absolute;\r\n\tpointer-events: none;\r\n\tborder: 6px solid transparent;\r\n\tbackground: transparent;\r\n\tcontent: \"\";\r\n\t}\r\n\r\n/* Directions */\r\n\r\n.leaflet-tooltip-bottom {\r\n\tmargin-top: 6px;\r\n}\r\n.leaflet-tooltip-top {\r\n\tmargin-top: -6px;\r\n}\r\n.leaflet-tooltip-bottom:before,\r\n.leaflet-tooltip-top:before {\r\n\tleft: 50%;\r\n\tmargin-left: -6px;\r\n\t}\r\n.leaflet-tooltip-top:before {\r\n\tbottom: 0;\r\n\tmargin-bottom: -12px;\r\n\tborder-top-color: #fff;\r\n\t}\r\n.leaflet-tooltip-bottom:before {\r\n\ttop: 0;\r\n\tmargin-top: -12px;\r\n\tmargin-left: -6px;\r\n\tborder-bottom-color: #fff;\r\n\t}\r\n.leaflet-tooltip-left {\r\n\tmargin-left: -6px;\r\n}\r\n.leaflet-tooltip-right {\r\n\tmargin-left: 6px;\r\n}\r\n.leaflet-tooltip-left:before,\r\n.leaflet-tooltip-right:before {\r\n\ttop: 50%;\r\n\tmargin-top: -6px;\r\n\t}\r\n.leaflet-tooltip-left:before {\r\n\tright: 0;\r\n\tmargin-right: -12px;\r\n\tborder-left-color: #fff;\r\n\t}\r\n.leaflet-tooltip-right:before {\r\n\tleft: 0;\r\n\tmargin-left: -12px;\r\n\tborder-right-color: #fff;\r\n\t}\r\n\r\n/* Printing */\r\n\t\r\n@media print {\r\n\t/* Prevent printers from removing background-images of controls. */\r\n\t.leaflet-control {\r\n\t\t-webkit-print-color-adjust: exact;\r\n\t\tcolor-adjust: exact;\r\n\t\t}\r\n\t}\r\n", ""]);
|
|
7889
|
+
___CSS_LOADER_EXPORT___.push([module.id, "/* required styles */\r\n\r\n.leaflet-pane,\r\n.leaflet-tile,\r\n.leaflet-marker-icon,\r\n.leaflet-marker-shadow,\r\n.leaflet-tile-container,\r\n.leaflet-pane > svg,\r\n.leaflet-pane > canvas,\r\n.leaflet-zoom-box,\r\n.leaflet-image-layer,\r\n.leaflet-layer {\r\n\tposition: absolute;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\t}\r\n.leaflet-container {\r\n\toverflow: hidden;\r\n\t}\r\n.leaflet-tile,\r\n.leaflet-marker-icon,\r\n.leaflet-marker-shadow {\r\n\t-webkit-user-select: none;\r\n\t -moz-user-select: none;\r\n\t user-select: none;\r\n\t -webkit-user-drag: none;\r\n\t}\r\n/* Prevents IE11 from highlighting tiles in blue */\r\n.leaflet-tile::selection {\r\n\tbackground: transparent;\r\n}\r\n/* Safari renders non-retina tile on retina better with this, but Chrome is worse */\r\n.leaflet-safari .leaflet-tile {\r\n\timage-rendering: -webkit-optimize-contrast;\r\n\t}\r\n/* hack that prevents hw layers \"stretching\" when loading new tiles */\r\n.leaflet-safari .leaflet-tile-container {\r\n\twidth: 1600px;\r\n\theight: 1600px;\r\n\t-webkit-transform-origin: 0 0;\r\n\t}\r\n.leaflet-marker-icon,\r\n.leaflet-marker-shadow {\r\n\tdisplay: block;\r\n\t}\r\n/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */\r\n/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */\r\n.leaflet-container .leaflet-overlay-pane svg {\r\n\tmax-width: none !important;\r\n\tmax-height: none !important;\r\n\t}\r\n.leaflet-container .leaflet-marker-pane img,\r\n.leaflet-container .leaflet-shadow-pane img,\r\n.leaflet-container .leaflet-tile-pane img,\r\n.leaflet-container img.leaflet-image-layer,\r\n.leaflet-container .leaflet-tile {\r\n\tmax-width: none !important;\r\n\tmax-height: none !important;\r\n\twidth: auto;\r\n\tpadding: 0;\r\n\t}\r\n\r\n.leaflet-container.leaflet-touch-zoom {\r\n\t-ms-touch-action: pan-x pan-y;\r\n\ttouch-action: pan-x pan-y;\r\n\t}\r\n.leaflet-container.leaflet-touch-drag {\r\n\t-ms-touch-action: pinch-zoom;\r\n\t/* Fallback for FF which doesn't support pinch-zoom */\r\n\ttouch-action: none;\r\n\ttouch-action: pinch-zoom;\r\n}\r\n.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {\r\n\t-ms-touch-action: none;\r\n\ttouch-action: none;\r\n}\r\n.leaflet-container {\r\n\t-webkit-tap-highlight-color: transparent;\r\n}\r\n.leaflet-container a {\r\n\t-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);\r\n}\r\n.leaflet-tile {\r\n\tfilter: inherit;\r\n\tvisibility: hidden;\r\n\t}\r\n.leaflet-tile-loaded {\r\n\tvisibility: inherit;\r\n\t}\r\n.leaflet-zoom-box {\r\n\twidth: 0;\r\n\theight: 0;\r\n\t-moz-box-sizing: border-box;\r\n\t box-sizing: border-box;\r\n\tz-index: 800;\r\n\t}\r\n/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */\r\n.leaflet-overlay-pane svg {\r\n\t-moz-user-select: none;\r\n\t}\r\n\r\n.leaflet-pane { z-index: 400; }\r\n\r\n.leaflet-tile-pane { z-index: 200; }\r\n.leaflet-overlay-pane { z-index: 400; }\r\n.leaflet-shadow-pane { z-index: 500; }\r\n.leaflet-marker-pane { z-index: 600; }\r\n.leaflet-tooltip-pane { z-index: 650; }\r\n.leaflet-popup-pane { z-index: 700; }\r\n\r\n.leaflet-map-pane canvas { z-index: 100; }\r\n.leaflet-map-pane svg { z-index: 200; }\r\n\r\n.leaflet-vml-shape {\r\n\twidth: 1px;\r\n\theight: 1px;\r\n\t}\r\n.lvml {\r\n\tbehavior: url(#default#VML);\r\n\tdisplay: inline-block;\r\n\tposition: absolute;\r\n\t}\r\n\r\n\r\n/* control positioning */\r\n\r\n.leaflet-control {\r\n\tposition: relative;\r\n\tz-index: 800;\r\n\tpointer-events: visiblePainted; /* IE 9-10 doesn't have auto */\r\n\tpointer-events: auto;\r\n\t}\r\n.leaflet-top,\r\n.leaflet-bottom {\r\n\tposition: absolute;\r\n\tz-index: 1000;\r\n\tpointer-events: none;\r\n\t}\r\n.leaflet-top {\r\n\ttop: 0;\r\n\t}\r\n.leaflet-right {\r\n\tright: 0;\r\n\t}\r\n.leaflet-bottom {\r\n\tbottom: 0;\r\n\t}\r\n.leaflet-left {\r\n\tleft: 0;\r\n\t}\r\n.leaflet-control {\r\n\tfloat: left;\r\n\tclear: both;\r\n\t}\r\n.leaflet-right .leaflet-control {\r\n\tfloat: right;\r\n\t}\r\n.leaflet-top .leaflet-control {\r\n\tmargin-top: 10px;\r\n\t}\r\n.leaflet-bottom .leaflet-control {\r\n\tmargin-bottom: 10px;\r\n\t}\r\n.leaflet-left .leaflet-control {\r\n\tmargin-left: 10px;\r\n\t}\r\n.leaflet-right .leaflet-control {\r\n\tmargin-right: 10px;\r\n\t}\r\n\r\n\r\n/* zoom and fade animations */\r\n\r\n.leaflet-fade-anim .leaflet-popup {\r\n\topacity: 0;\r\n\t-webkit-transition: opacity 0.2s linear;\r\n\t -moz-transition: opacity 0.2s linear;\r\n\t transition: opacity 0.2s linear;\r\n\t}\r\n.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {\r\n\topacity: 1;\r\n\t}\r\n.leaflet-zoom-animated {\r\n\t-webkit-transform-origin: 0 0;\r\n\t -ms-transform-origin: 0 0;\r\n\t transform-origin: 0 0;\r\n\t}\r\nsvg.leaflet-zoom-animated {\r\n\twill-change: transform;\r\n}\r\n\r\n.leaflet-zoom-anim .leaflet-zoom-animated {\r\n\t-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);\r\n\t -moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1);\r\n\t transition: transform 0.25s cubic-bezier(0,0,0.25,1);\r\n\t}\r\n.leaflet-zoom-anim .leaflet-tile,\r\n.leaflet-pan-anim .leaflet-tile {\r\n\t-webkit-transition: none;\r\n\t -moz-transition: none;\r\n\t transition: none;\r\n\t}\r\n\r\n.leaflet-zoom-anim .leaflet-zoom-hide {\r\n\tvisibility: hidden;\r\n\t}\r\n\r\n\r\n/* cursors */\r\n\r\n.leaflet-interactive {\r\n\tcursor: pointer;\r\n\t}\r\n.leaflet-grab {\r\n\tcursor: -webkit-grab;\r\n\tcursor: -moz-grab;\r\n\tcursor: grab;\r\n\t}\r\n.leaflet-crosshair,\r\n.leaflet-crosshair .leaflet-interactive {\r\n\tcursor: crosshair;\r\n\t}\r\n.leaflet-popup-pane,\r\n.leaflet-control {\r\n\tcursor: auto;\r\n\t}\r\n.leaflet-dragging .leaflet-grab,\r\n.leaflet-dragging .leaflet-grab .leaflet-interactive,\r\n.leaflet-dragging .leaflet-marker-draggable {\r\n\tcursor: move;\r\n\tcursor: -webkit-grabbing;\r\n\tcursor: -moz-grabbing;\r\n\tcursor: grabbing;\r\n\t}\r\n\r\n/* marker & overlays interactivity */\r\n.leaflet-marker-icon,\r\n.leaflet-marker-shadow,\r\n.leaflet-image-layer,\r\n.leaflet-pane > svg path,\r\n.leaflet-tile-container {\r\n\tpointer-events: none;\r\n\t}\r\n\r\n.leaflet-marker-icon.leaflet-interactive,\r\n.leaflet-image-layer.leaflet-interactive,\r\n.leaflet-pane > svg path.leaflet-interactive,\r\nsvg.leaflet-image-layer.leaflet-interactive path {\r\n\tpointer-events: visiblePainted; /* IE 9-10 doesn't have auto */\r\n\tpointer-events: auto;\r\n\t}\r\n\r\n/* visual tweaks */\r\n\r\n.leaflet-container {\r\n\tbackground: #ddd;\r\n\toutline-offset: 1px;\r\n\t}\r\n.leaflet-container a {\r\n\tcolor: #0078A8;\r\n\t}\r\n.leaflet-zoom-box {\r\n\tborder: 2px dotted #38f;\r\n\tbackground: rgba(255,255,255,0.5);\r\n\t}\r\n\r\n\r\n/* general typography */\r\n.leaflet-container {\r\n\tfont-family: \"Helvetica Neue\", Arial, Helvetica, sans-serif;\r\n\tfont-size: 12px;\r\n\tfont-size: 0.75rem;\r\n\tline-height: 1.5;\r\n\t}\r\n\r\n\r\n/* general toolbar styles */\r\n\r\n.leaflet-bar {\r\n\tbox-shadow: 0 1px 5px rgba(0,0,0,0.65);\r\n\tborder-radius: 4px;\r\n\t}\r\n.leaflet-bar a {\r\n\tbackground-color: #fff;\r\n\tborder-bottom: 1px solid #ccc;\r\n\twidth: 26px;\r\n\theight: 26px;\r\n\tline-height: 26px;\r\n\tdisplay: block;\r\n\ttext-align: center;\r\n\ttext-decoration: none;\r\n\tcolor: black;\r\n\t}\r\n.leaflet-bar a,\r\n.leaflet-control-layers-toggle {\r\n\tbackground-position: 50% 50%;\r\n\tbackground-repeat: no-repeat;\r\n\tdisplay: block;\r\n\t}\r\n.leaflet-bar a:hover,\r\n.leaflet-bar a:focus {\r\n\tbackground-color: #f4f4f4;\r\n\t}\r\n.leaflet-bar a:first-child {\r\n\tborder-top-left-radius: 4px;\r\n\tborder-top-right-radius: 4px;\r\n\t}\r\n.leaflet-bar a:last-child {\r\n\tborder-bottom-left-radius: 4px;\r\n\tborder-bottom-right-radius: 4px;\r\n\tborder-bottom: none;\r\n\t}\r\n.leaflet-bar a.leaflet-disabled {\r\n\tcursor: default;\r\n\tbackground-color: #f4f4f4;\r\n\tcolor: #bbb;\r\n\t}\r\n\r\n.leaflet-touch .leaflet-bar a {\r\n\twidth: 30px;\r\n\theight: 30px;\r\n\tline-height: 30px;\r\n\t}\r\n.leaflet-touch .leaflet-bar a:first-child {\r\n\tborder-top-left-radius: 2px;\r\n\tborder-top-right-radius: 2px;\r\n\t}\r\n.leaflet-touch .leaflet-bar a:last-child {\r\n\tborder-bottom-left-radius: 2px;\r\n\tborder-bottom-right-radius: 2px;\r\n\t}\r\n\r\n/* zoom control */\r\n\r\n.leaflet-control-zoom-in,\r\n.leaflet-control-zoom-out {\r\n\tfont: bold 18px 'Lucida Console', Monaco, monospace;\r\n\ttext-indent: 1px;\r\n\t}\r\n\r\n.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out {\r\n\tfont-size: 22px;\r\n\t}\r\n\r\n\r\n/* layers control */\r\n\r\n.leaflet-control-layers {\r\n\tbox-shadow: 0 1px 5px rgba(0,0,0,0.4);\r\n\tbackground: #fff;\r\n\tborder-radius: 5px;\r\n\t}\r\n.leaflet-control-layers-toggle {\r\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");\r\n\twidth: 36px;\r\n\theight: 36px;\r\n\t}\r\n.leaflet-retina .leaflet-control-layers-toggle {\r\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ");\r\n\tbackground-size: 26px 26px;\r\n\t}\r\n.leaflet-touch .leaflet-control-layers-toggle {\r\n\twidth: 44px;\r\n\theight: 44px;\r\n\t}\r\n.leaflet-control-layers .leaflet-control-layers-list,\r\n.leaflet-control-layers-expanded .leaflet-control-layers-toggle {\r\n\tdisplay: none;\r\n\t}\r\n.leaflet-control-layers-expanded .leaflet-control-layers-list {\r\n\tdisplay: block;\r\n\tposition: relative;\r\n\t}\r\n.leaflet-control-layers-expanded {\r\n\tpadding: 6px 10px 6px 6px;\r\n\tcolor: #333;\r\n\tbackground: #fff;\r\n\t}\r\n.leaflet-control-layers-scrollbar {\r\n\toverflow-y: scroll;\r\n\toverflow-x: hidden;\r\n\tpadding-right: 5px;\r\n\t}\r\n.leaflet-control-layers-selector {\r\n\tmargin-top: 2px;\r\n\tposition: relative;\r\n\ttop: 1px;\r\n\t}\r\n.leaflet-control-layers label {\r\n\tdisplay: block;\r\n\tfont-size: 13px;\r\n\tfont-size: 1.08333em;\r\n\t}\r\n.leaflet-control-layers-separator {\r\n\theight: 0;\r\n\tborder-top: 1px solid #ddd;\r\n\tmargin: 5px -10px 5px -6px;\r\n\t}\r\n\r\n/* Default icon URLs */\r\n.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */\r\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_2___ + ");\r\n\t}\r\n\r\n\r\n/* attribution and scale controls */\r\n\r\n.leaflet-container .leaflet-control-attribution {\r\n\tbackground: #fff;\r\n\tbackground: rgba(255, 255, 255, 0.8);\r\n\tmargin: 0;\r\n\t}\r\n.leaflet-control-attribution,\r\n.leaflet-control-scale-line {\r\n\tpadding: 0 5px;\r\n\tcolor: #333;\r\n\tline-height: 1.4;\r\n\t}\r\n.leaflet-control-attribution a {\r\n\ttext-decoration: none;\r\n\t}\r\n.leaflet-control-attribution a:hover,\r\n.leaflet-control-attribution a:focus {\r\n\ttext-decoration: underline;\r\n\t}\r\n.leaflet-attribution-flag {\r\n\tdisplay: inline !important;\r\n\tvertical-align: baseline !important;\r\n\twidth: 1em;\r\n\theight: 0.6669em;\r\n\t}\r\n.leaflet-left .leaflet-control-scale {\r\n\tmargin-left: 5px;\r\n\t}\r\n.leaflet-bottom .leaflet-control-scale {\r\n\tmargin-bottom: 5px;\r\n\t}\r\n.leaflet-control-scale-line {\r\n\tborder: 2px solid #777;\r\n\tborder-top: none;\r\n\tline-height: 1.1;\r\n\tpadding: 2px 5px 1px;\r\n\twhite-space: nowrap;\r\n\toverflow: hidden;\r\n\t-moz-box-sizing: border-box;\r\n\t box-sizing: border-box;\r\n\r\n\tbackground: #fff;\r\n\tbackground: rgba(255, 255, 255, 0.5);\r\n\t}\r\n.leaflet-control-scale-line:not(:first-child) {\r\n\tborder-top: 2px solid #777;\r\n\tborder-bottom: none;\r\n\tmargin-top: -2px;\r\n\t}\r\n.leaflet-control-scale-line:not(:first-child):not(:last-child) {\r\n\tborder-bottom: 2px solid #777;\r\n\t}\r\n\r\n.leaflet-touch .leaflet-control-attribution,\r\n.leaflet-touch .leaflet-control-layers,\r\n.leaflet-touch .leaflet-bar {\r\n\tbox-shadow: none;\r\n\t}\r\n.leaflet-touch .leaflet-control-layers,\r\n.leaflet-touch .leaflet-bar {\r\n\tborder: 2px solid rgba(0,0,0,0.2);\r\n\tbackground-clip: padding-box;\r\n\t}\r\n\r\n\r\n/* popup */\r\n\r\n.leaflet-popup {\r\n\tposition: absolute;\r\n\ttext-align: center;\r\n\tmargin-bottom: 20px;\r\n\t}\r\n.leaflet-popup-content-wrapper {\r\n\tpadding: 1px;\r\n\ttext-align: left;\r\n\tborder-radius: 12px;\r\n\t}\r\n.leaflet-popup-content {\r\n\tmargin: 13px 24px 13px 20px;\r\n\tline-height: 1.3;\r\n\tfont-size: 13px;\r\n\tfont-size: 1.08333em;\r\n\tmin-height: 1px;\r\n\t}\r\n.leaflet-popup-content p {\r\n\tmargin: 17px 0;\r\n\tmargin: 1.3em 0;\r\n\t}\r\n.leaflet-popup-tip-container {\r\n\twidth: 40px;\r\n\theight: 20px;\r\n\tposition: absolute;\r\n\tleft: 50%;\r\n\tmargin-top: -1px;\r\n\tmargin-left: -20px;\r\n\toverflow: hidden;\r\n\tpointer-events: none;\r\n\t}\r\n.leaflet-popup-tip {\r\n\twidth: 17px;\r\n\theight: 17px;\r\n\tpadding: 1px;\r\n\r\n\tmargin: -10px auto 0;\r\n\tpointer-events: auto;\r\n\r\n\t-webkit-transform: rotate(45deg);\r\n\t -moz-transform: rotate(45deg);\r\n\t -ms-transform: rotate(45deg);\r\n\t transform: rotate(45deg);\r\n\t}\r\n.leaflet-popup-content-wrapper,\r\n.leaflet-popup-tip {\r\n\tbackground: white;\r\n\tcolor: #333;\r\n\tbox-shadow: 0 3px 14px rgba(0,0,0,0.4);\r\n\t}\r\n.leaflet-container a.leaflet-popup-close-button {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\tright: 0;\r\n\tborder: none;\r\n\ttext-align: center;\r\n\twidth: 24px;\r\n\theight: 24px;\r\n\tfont: 16px/24px Tahoma, Verdana, sans-serif;\r\n\tcolor: #757575;\r\n\ttext-decoration: none;\r\n\tbackground: transparent;\r\n\t}\r\n.leaflet-container a.leaflet-popup-close-button:hover,\r\n.leaflet-container a.leaflet-popup-close-button:focus {\r\n\tcolor: #585858;\r\n\t}\r\n.leaflet-popup-scrolled {\r\n\toverflow: auto;\r\n\t}\r\n\r\n.leaflet-oldie .leaflet-popup-content-wrapper {\r\n\t-ms-zoom: 1;\r\n\t}\r\n.leaflet-oldie .leaflet-popup-tip {\r\n\twidth: 24px;\r\n\tmargin: 0 auto;\r\n\r\n\t-ms-filter: \"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)\";\r\n\tfilter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);\r\n\t}\r\n\r\n.leaflet-oldie .leaflet-control-zoom,\r\n.leaflet-oldie .leaflet-control-layers,\r\n.leaflet-oldie .leaflet-popup-content-wrapper,\r\n.leaflet-oldie .leaflet-popup-tip {\r\n\tborder: 1px solid #999;\r\n\t}\r\n\r\n\r\n/* div icon */\r\n\r\n.leaflet-div-icon {\r\n\tbackground: #fff;\r\n\tborder: 1px solid #666;\r\n\t}\r\n\r\n\r\n/* Tooltip */\r\n/* Base styles for the element that has a tooltip */\r\n.leaflet-tooltip {\r\n\tposition: absolute;\r\n\tpadding: 6px;\r\n\tbackground-color: #fff;\r\n\tborder: 1px solid #fff;\r\n\tborder-radius: 3px;\r\n\tcolor: #222;\r\n\twhite-space: nowrap;\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n\tuser-select: none;\r\n\tpointer-events: none;\r\n\tbox-shadow: 0 1px 3px rgba(0,0,0,0.4);\r\n\t}\r\n.leaflet-tooltip.leaflet-interactive {\r\n\tcursor: pointer;\r\n\tpointer-events: auto;\r\n\t}\r\n.leaflet-tooltip-top:before,\r\n.leaflet-tooltip-bottom:before,\r\n.leaflet-tooltip-left:before,\r\n.leaflet-tooltip-right:before {\r\n\tposition: absolute;\r\n\tpointer-events: none;\r\n\tborder: 6px solid transparent;\r\n\tbackground: transparent;\r\n\tcontent: \"\";\r\n\t}\r\n\r\n/* Directions */\r\n\r\n.leaflet-tooltip-bottom {\r\n\tmargin-top: 6px;\r\n}\r\n.leaflet-tooltip-top {\r\n\tmargin-top: -6px;\r\n}\r\n.leaflet-tooltip-bottom:before,\r\n.leaflet-tooltip-top:before {\r\n\tleft: 50%;\r\n\tmargin-left: -6px;\r\n\t}\r\n.leaflet-tooltip-top:before {\r\n\tbottom: 0;\r\n\tmargin-bottom: -12px;\r\n\tborder-top-color: #fff;\r\n\t}\r\n.leaflet-tooltip-bottom:before {\r\n\ttop: 0;\r\n\tmargin-top: -12px;\r\n\tmargin-left: -6px;\r\n\tborder-bottom-color: #fff;\r\n\t}\r\n.leaflet-tooltip-left {\r\n\tmargin-left: -6px;\r\n}\r\n.leaflet-tooltip-right {\r\n\tmargin-left: 6px;\r\n}\r\n.leaflet-tooltip-left:before,\r\n.leaflet-tooltip-right:before {\r\n\ttop: 50%;\r\n\tmargin-top: -6px;\r\n\t}\r\n.leaflet-tooltip-left:before {\r\n\tright: 0;\r\n\tmargin-right: -12px;\r\n\tborder-left-color: #fff;\r\n\t}\r\n.leaflet-tooltip-right:before {\r\n\tleft: 0;\r\n\tmargin-left: -12px;\r\n\tborder-right-color: #fff;\r\n\t}\r\n\r\n/* Printing */\r\n\t\r\n@media print {\r\n\t/* Prevent printers from removing background-images of controls. */\r\n\t.leaflet-control {\r\n\t\t-webkit-print-color-adjust: exact;\r\n\t\tprint-color-adjust: exact;\r\n\t\t}\r\n\t}\r\n", ""]);
|
|
7890
7890
|
// Exports
|
|
7891
7891
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
7892
7892
|
|
|
@@ -11274,14 +11274,14 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
11274
11274
|
/***/ (function(__unused_webpack_module, exports) {
|
|
11275
11275
|
|
|
11276
11276
|
/* @preserve
|
|
11277
|
-
* Leaflet 1.
|
|
11277
|
+
* Leaflet 1.9.2, a JS library for interactive maps. https://leafletjs.com
|
|
11278
11278
|
* (c) 2010-2022 Vladimir Agafonkin, (c) 2010-2011 CloudMade
|
|
11279
11279
|
*/
|
|
11280
11280
|
|
|
11281
11281
|
(function (global, factory) {
|
|
11282
11282
|
factory(exports) ;
|
|
11283
11283
|
})(this, (function (exports) {
|
|
11284
|
-
var version = "1.
|
|
11284
|
+
var version = "1.9.2";
|
|
11285
11285
|
|
|
11286
11286
|
/*
|
|
11287
11287
|
* @namespace Util
|
|
@@ -11777,35 +11777,30 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
11777
11777
|
},
|
|
11778
11778
|
|
|
11779
11779
|
// attach listener (without syntactic sugar now)
|
|
11780
|
-
_on: function (type, fn, context) {
|
|
11780
|
+
_on: function (type, fn, context, _once) {
|
|
11781
11781
|
if (typeof fn !== 'function') {
|
|
11782
11782
|
console.warn('wrong listener type: ' + typeof fn);
|
|
11783
11783
|
return;
|
|
11784
11784
|
}
|
|
11785
|
-
this._events = this._events || {};
|
|
11786
11785
|
|
|
11787
|
-
|
|
11788
|
-
|
|
11789
|
-
|
|
11790
|
-
typeListeners = [];
|
|
11791
|
-
this._events[type] = typeListeners;
|
|
11786
|
+
// check if fn already there
|
|
11787
|
+
if (this._listens(type, fn, context) !== false) {
|
|
11788
|
+
return;
|
|
11792
11789
|
}
|
|
11793
11790
|
|
|
11794
11791
|
if (context === this) {
|
|
11795
11792
|
// Less memory footprint.
|
|
11796
11793
|
context = undefined;
|
|
11797
11794
|
}
|
|
11798
|
-
var newListener = {fn: fn, ctx: context},
|
|
11799
|
-
listeners = typeListeners;
|
|
11800
11795
|
|
|
11801
|
-
|
|
11802
|
-
|
|
11803
|
-
|
|
11804
|
-
return;
|
|
11805
|
-
}
|
|
11796
|
+
var newListener = {fn: fn, ctx: context};
|
|
11797
|
+
if (_once) {
|
|
11798
|
+
newListener.once = true;
|
|
11806
11799
|
}
|
|
11807
11800
|
|
|
11808
|
-
|
|
11801
|
+
this._events = this._events || {};
|
|
11802
|
+
this._events[type] = this._events[type] || [];
|
|
11803
|
+
this._events[type].push(newListener);
|
|
11809
11804
|
},
|
|
11810
11805
|
|
|
11811
11806
|
_off: function (type, fn, context) {
|
|
@@ -11813,10 +11808,11 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
11813
11808
|
i,
|
|
11814
11809
|
len;
|
|
11815
11810
|
|
|
11816
|
-
if (!this._events) {
|
|
11811
|
+
if (!this._events) {
|
|
11812
|
+
return;
|
|
11813
|
+
}
|
|
11817
11814
|
|
|
11818
11815
|
listeners = this._events[type];
|
|
11819
|
-
|
|
11820
11816
|
if (!listeners) {
|
|
11821
11817
|
return;
|
|
11822
11818
|
}
|
|
@@ -11834,32 +11830,24 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
11834
11830
|
return;
|
|
11835
11831
|
}
|
|
11836
11832
|
|
|
11837
|
-
if (context === this) {
|
|
11838
|
-
context = undefined;
|
|
11839
|
-
}
|
|
11840
|
-
|
|
11841
11833
|
if (typeof fn !== 'function') {
|
|
11842
11834
|
console.warn('wrong listener type: ' + typeof fn);
|
|
11843
11835
|
return;
|
|
11844
11836
|
}
|
|
11837
|
+
|
|
11845
11838
|
// find fn and remove it
|
|
11846
|
-
|
|
11847
|
-
|
|
11848
|
-
|
|
11849
|
-
if (
|
|
11850
|
-
if
|
|
11851
|
-
|
|
11852
|
-
l.fn = falseFn;
|
|
11853
|
-
|
|
11854
|
-
/* copy array in case events are being fired */
|
|
11855
|
-
this._events[type] = listeners = listeners.slice();
|
|
11856
|
-
}
|
|
11857
|
-
listeners.splice(i, 1);
|
|
11839
|
+
var index = this._listens(type, fn, context);
|
|
11840
|
+
if (index !== false) {
|
|
11841
|
+
var listener = listeners[index];
|
|
11842
|
+
if (this._firingCount) {
|
|
11843
|
+
// set the removed listener to noop so that's not called if remove happens in fire
|
|
11844
|
+
listener.fn = falseFn;
|
|
11858
11845
|
|
|
11859
|
-
|
|
11846
|
+
/* copy array in case events are being fired */
|
|
11847
|
+
this._events[type] = listeners = listeners.slice();
|
|
11860
11848
|
}
|
|
11849
|
+
listeners.splice(index, 1);
|
|
11861
11850
|
}
|
|
11862
|
-
console.warn('listener not found');
|
|
11863
11851
|
},
|
|
11864
11852
|
|
|
11865
11853
|
// @method fire(type: String, data?: Object, propagate?: Boolean): this
|
|
@@ -11877,12 +11865,16 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
11877
11865
|
|
|
11878
11866
|
if (this._events) {
|
|
11879
11867
|
var listeners = this._events[type];
|
|
11880
|
-
|
|
11881
11868
|
if (listeners) {
|
|
11882
11869
|
this._firingCount = (this._firingCount + 1) || 1;
|
|
11883
11870
|
for (var i = 0, len = listeners.length; i < len; i++) {
|
|
11884
11871
|
var l = listeners[i];
|
|
11885
|
-
l.fn
|
|
11872
|
+
// off overwrites l.fn, so we need to copy fn to a var
|
|
11873
|
+
var fn = l.fn;
|
|
11874
|
+
if (l.once) {
|
|
11875
|
+
this.off(type, fn, l.ctx);
|
|
11876
|
+
}
|
|
11877
|
+
fn.call(l.ctx || this, event);
|
|
11886
11878
|
}
|
|
11887
11879
|
|
|
11888
11880
|
this._firingCount--;
|
|
@@ -11898,45 +11890,85 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
11898
11890
|
},
|
|
11899
11891
|
|
|
11900
11892
|
// @method listens(type: String, propagate?: Boolean): Boolean
|
|
11893
|
+
// @method listens(type: String, fn: Function, context?: Object, propagate?: Boolean): Boolean
|
|
11901
11894
|
// Returns `true` if a particular event type has any listeners attached to it.
|
|
11902
11895
|
// The verification can optionally be propagated, it will return `true` if parents have the listener attached to it.
|
|
11903
|
-
listens: function (type, propagate) {
|
|
11896
|
+
listens: function (type, fn, context, propagate) {
|
|
11904
11897
|
if (typeof type !== 'string') {
|
|
11905
11898
|
console.warn('"string" type argument expected');
|
|
11906
11899
|
}
|
|
11900
|
+
|
|
11901
|
+
// we don't overwrite the input `fn` value, because we need to use it for propagation
|
|
11902
|
+
var _fn = fn;
|
|
11903
|
+
if (typeof fn !== 'function') {
|
|
11904
|
+
propagate = !!fn;
|
|
11905
|
+
_fn = undefined;
|
|
11906
|
+
context = undefined;
|
|
11907
|
+
}
|
|
11908
|
+
|
|
11907
11909
|
var listeners = this._events && this._events[type];
|
|
11908
|
-
if (listeners && listeners.length) {
|
|
11910
|
+
if (listeners && listeners.length) {
|
|
11911
|
+
if (this._listens(type, _fn, context) !== false) {
|
|
11912
|
+
return true;
|
|
11913
|
+
}
|
|
11914
|
+
}
|
|
11909
11915
|
|
|
11910
11916
|
if (propagate) {
|
|
11911
11917
|
// also check parents for listeners if event propagates
|
|
11912
11918
|
for (var id in this._eventParents) {
|
|
11913
|
-
if (this._eventParents[id].listens(type, propagate)) { return true; }
|
|
11919
|
+
if (this._eventParents[id].listens(type, fn, context, propagate)) { return true; }
|
|
11914
11920
|
}
|
|
11915
11921
|
}
|
|
11916
11922
|
return false;
|
|
11917
11923
|
},
|
|
11918
11924
|
|
|
11925
|
+
// returns the index (number) or false
|
|
11926
|
+
_listens: function (type, fn, context) {
|
|
11927
|
+
if (!this._events) {
|
|
11928
|
+
return false;
|
|
11929
|
+
}
|
|
11930
|
+
|
|
11931
|
+
var listeners = this._events[type] || [];
|
|
11932
|
+
if (!fn) {
|
|
11933
|
+
return !!listeners.length;
|
|
11934
|
+
}
|
|
11935
|
+
|
|
11936
|
+
if (context === this) {
|
|
11937
|
+
// Less memory footprint.
|
|
11938
|
+
context = undefined;
|
|
11939
|
+
}
|
|
11940
|
+
|
|
11941
|
+
for (var i = 0, len = listeners.length; i < len; i++) {
|
|
11942
|
+
if (listeners[i].fn === fn && listeners[i].ctx === context) {
|
|
11943
|
+
return i;
|
|
11944
|
+
}
|
|
11945
|
+
}
|
|
11946
|
+
return false;
|
|
11947
|
+
|
|
11948
|
+
},
|
|
11949
|
+
|
|
11919
11950
|
// @method once(…): this
|
|
11920
11951
|
// Behaves as [`on(…)`](#evented-on), except the listener will only get fired once and then removed.
|
|
11921
11952
|
once: function (types, fn, context) {
|
|
11922
11953
|
|
|
11954
|
+
// types can be a map of types/handlers
|
|
11923
11955
|
if (typeof types === 'object') {
|
|
11924
11956
|
for (var type in types) {
|
|
11925
|
-
|
|
11957
|
+
// we don't process space-separated events here for performance;
|
|
11958
|
+
// it's a hot path since Layer uses the on(obj) syntax
|
|
11959
|
+
this._on(type, types[type], fn, true);
|
|
11926
11960
|
}
|
|
11927
|
-
return this;
|
|
11928
|
-
}
|
|
11929
11961
|
|
|
11930
|
-
|
|
11931
|
-
|
|
11932
|
-
|
|
11933
|
-
.off(types, handler, context);
|
|
11934
|
-
}, this);
|
|
11962
|
+
} else {
|
|
11963
|
+
// types can be a string of space-separated words
|
|
11964
|
+
types = splitWords(types);
|
|
11935
11965
|
|
|
11936
|
-
|
|
11937
|
-
|
|
11938
|
-
|
|
11939
|
-
|
|
11966
|
+
for (var i = 0, len = types.length; i < len; i++) {
|
|
11967
|
+
this._on(types[i], fn, context, true);
|
|
11968
|
+
}
|
|
11969
|
+
}
|
|
11970
|
+
|
|
11971
|
+
return this;
|
|
11940
11972
|
},
|
|
11941
11973
|
|
|
11942
11974
|
// @method addEventParent(obj: Evented): this
|
|
@@ -12252,21 +12284,36 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
12252
12284
|
Bounds.prototype = {
|
|
12253
12285
|
// @method extend(point: Point): this
|
|
12254
12286
|
// Extends the bounds to contain the given point.
|
|
12255
|
-
|
|
12256
|
-
|
|
12287
|
+
|
|
12288
|
+
// @alternative
|
|
12289
|
+
// @method extend(otherBounds: Bounds): this
|
|
12290
|
+
// Extend the bounds to contain the given bounds
|
|
12291
|
+
extend: function (obj) {
|
|
12292
|
+
var min2, max2;
|
|
12293
|
+
if (!obj) { return this; }
|
|
12294
|
+
|
|
12295
|
+
if (obj instanceof Point || typeof obj[0] === 'number' || 'x' in obj) {
|
|
12296
|
+
min2 = max2 = toPoint(obj);
|
|
12297
|
+
} else {
|
|
12298
|
+
obj = toBounds(obj);
|
|
12299
|
+
min2 = obj.min;
|
|
12300
|
+
max2 = obj.max;
|
|
12301
|
+
|
|
12302
|
+
if (!min2 || !max2) { return this; }
|
|
12303
|
+
}
|
|
12257
12304
|
|
|
12258
12305
|
// @property min: Point
|
|
12259
12306
|
// The top left corner of the rectangle.
|
|
12260
12307
|
// @property max: Point
|
|
12261
12308
|
// The bottom right corner of the rectangle.
|
|
12262
12309
|
if (!this.min && !this.max) {
|
|
12263
|
-
this.min =
|
|
12264
|
-
this.max =
|
|
12310
|
+
this.min = min2.clone();
|
|
12311
|
+
this.max = max2.clone();
|
|
12265
12312
|
} else {
|
|
12266
|
-
this.min.x = Math.min(
|
|
12267
|
-
this.max.x = Math.max(
|
|
12268
|
-
this.min.y = Math.min(
|
|
12269
|
-
this.max.y = Math.max(
|
|
12313
|
+
this.min.x = Math.min(min2.x, this.min.x);
|
|
12314
|
+
this.max.x = Math.max(max2.x, this.max.x);
|
|
12315
|
+
this.min.y = Math.min(min2.y, this.min.y);
|
|
12316
|
+
this.max.y = Math.max(max2.y, this.max.y);
|
|
12270
12317
|
}
|
|
12271
12318
|
return this;
|
|
12272
12319
|
},
|
|
@@ -12274,7 +12321,7 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
12274
12321
|
// @method getCenter(round?: Boolean): Point
|
|
12275
12322
|
// Returns the center point of the bounds.
|
|
12276
12323
|
getCenter: function (round) {
|
|
12277
|
-
return
|
|
12324
|
+
return toPoint(
|
|
12278
12325
|
(this.min.x + this.max.x) / 2,
|
|
12279
12326
|
(this.min.y + this.max.y) / 2, round);
|
|
12280
12327
|
},
|
|
@@ -12282,13 +12329,13 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
12282
12329
|
// @method getBottomLeft(): Point
|
|
12283
12330
|
// Returns the bottom-left point of the bounds.
|
|
12284
12331
|
getBottomLeft: function () {
|
|
12285
|
-
return
|
|
12332
|
+
return toPoint(this.min.x, this.max.y);
|
|
12286
12333
|
},
|
|
12287
12334
|
|
|
12288
12335
|
// @method getTopRight(): Point
|
|
12289
12336
|
// Returns the top-right point of the bounds.
|
|
12290
12337
|
getTopRight: function () { // -> Point
|
|
12291
|
-
return
|
|
12338
|
+
return toPoint(this.max.x, this.min.y);
|
|
12292
12339
|
},
|
|
12293
12340
|
|
|
12294
12341
|
// @method getTopLeft(): Point
|
|
@@ -12368,9 +12415,40 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
12368
12415
|
return xOverlaps && yOverlaps;
|
|
12369
12416
|
},
|
|
12370
12417
|
|
|
12418
|
+
// @method isValid(): Boolean
|
|
12419
|
+
// Returns `true` if the bounds are properly initialized.
|
|
12371
12420
|
isValid: function () {
|
|
12372
12421
|
return !!(this.min && this.max);
|
|
12373
|
-
}
|
|
12422
|
+
},
|
|
12423
|
+
|
|
12424
|
+
|
|
12425
|
+
// @method pad(bufferRatio: Number): Bounds
|
|
12426
|
+
// Returns bounds created by extending or retracting the current bounds by a given ratio in each direction.
|
|
12427
|
+
// For example, a ratio of 0.5 extends the bounds by 50% in each direction.
|
|
12428
|
+
// Negative values will retract the bounds.
|
|
12429
|
+
pad: function (bufferRatio) {
|
|
12430
|
+
var min = this.min,
|
|
12431
|
+
max = this.max,
|
|
12432
|
+
heightBuffer = Math.abs(min.x - max.x) * bufferRatio,
|
|
12433
|
+
widthBuffer = Math.abs(min.y - max.y) * bufferRatio;
|
|
12434
|
+
|
|
12435
|
+
|
|
12436
|
+
return toBounds(
|
|
12437
|
+
toPoint(min.x - heightBuffer, min.y - widthBuffer),
|
|
12438
|
+
toPoint(max.x + heightBuffer, max.y + widthBuffer));
|
|
12439
|
+
},
|
|
12440
|
+
|
|
12441
|
+
|
|
12442
|
+
// @method equals(otherBounds: Bounds): Boolean
|
|
12443
|
+
// Returns `true` if the rectangle is equivalent to the given bounds.
|
|
12444
|
+
equals: function (bounds) {
|
|
12445
|
+
if (!bounds) { return false; }
|
|
12446
|
+
|
|
12447
|
+
bounds = toBounds(bounds);
|
|
12448
|
+
|
|
12449
|
+
return this.min.equals(bounds.getTopLeft()) &&
|
|
12450
|
+
this.max.equals(bounds.getBottomRight());
|
|
12451
|
+
},
|
|
12374
12452
|
};
|
|
12375
12453
|
|
|
12376
12454
|
|
|
@@ -13278,6 +13356,13 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
13278
13356
|
}
|
|
13279
13357
|
}());
|
|
13280
13358
|
|
|
13359
|
+
|
|
13360
|
+
// @property mac: Boolean; `true` when the browser is running in a Mac platform
|
|
13361
|
+
var mac = navigator.platform.indexOf('Mac') === 0;
|
|
13362
|
+
|
|
13363
|
+
// @property mac: Boolean; `true` when the browser is running in a Linux platform
|
|
13364
|
+
var linux = navigator.platform.indexOf('Linux') === 0;
|
|
13365
|
+
|
|
13281
13366
|
function userAgentContains(str) {
|
|
13282
13367
|
return navigator.userAgent.toLowerCase().indexOf(str) >= 0;
|
|
13283
13368
|
}
|
|
@@ -13316,7 +13401,9 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
13316
13401
|
canvas: canvas$1,
|
|
13317
13402
|
svg: svg$1,
|
|
13318
13403
|
vml: vml,
|
|
13319
|
-
inlineSvg: inlineSvg
|
|
13404
|
+
inlineSvg: inlineSvg,
|
|
13405
|
+
mac: mac,
|
|
13406
|
+
linux: linux
|
|
13320
13407
|
};
|
|
13321
13408
|
|
|
13322
13409
|
/*
|
|
@@ -13459,6 +13546,25 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
13459
13546
|
return;
|
|
13460
13547
|
}
|
|
13461
13548
|
|
|
13549
|
+
// When clicking on an <input>, the browser generates a click on its
|
|
13550
|
+
// <label> (and vice versa) triggering two clicks in quick succession.
|
|
13551
|
+
// This ignores clicks on elements which are a label with a 'for'
|
|
13552
|
+
// attribute (or children of such a label), but not children of
|
|
13553
|
+
// a <input>.
|
|
13554
|
+
var path = getPropagationPath(e);
|
|
13555
|
+
if (path.some(function (el) {
|
|
13556
|
+
return el instanceof HTMLLabelElement && el.attributes.for;
|
|
13557
|
+
}) &&
|
|
13558
|
+
!path.some(function (el) {
|
|
13559
|
+
return (
|
|
13560
|
+
el instanceof HTMLInputElement ||
|
|
13561
|
+
el instanceof HTMLSelectElement
|
|
13562
|
+
);
|
|
13563
|
+
})
|
|
13564
|
+
) {
|
|
13565
|
+
return;
|
|
13566
|
+
}
|
|
13567
|
+
|
|
13462
13568
|
var now = Date.now();
|
|
13463
13569
|
if (now - last <= delay) {
|
|
13464
13570
|
detail++;
|
|
@@ -14080,6 +14186,26 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
14080
14186
|
return this;
|
|
14081
14187
|
}
|
|
14082
14188
|
|
|
14189
|
+
// @function getPropagationPath(ev: DOMEvent): Array
|
|
14190
|
+
// Compatibility polyfill for [`Event.composedPath()`](https://developer.mozilla.org/en-US/docs/Web/API/Event/composedPath).
|
|
14191
|
+
// Returns an array containing the `HTMLElement`s that the given DOM event
|
|
14192
|
+
// should propagate to (if not stopped).
|
|
14193
|
+
function getPropagationPath(ev) {
|
|
14194
|
+
if (ev.composedPath) {
|
|
14195
|
+
return ev.composedPath();
|
|
14196
|
+
}
|
|
14197
|
+
|
|
14198
|
+
var path = [];
|
|
14199
|
+
var el = ev.target;
|
|
14200
|
+
|
|
14201
|
+
while (el) {
|
|
14202
|
+
path.push(el);
|
|
14203
|
+
el = el.parentNode;
|
|
14204
|
+
}
|
|
14205
|
+
return path;
|
|
14206
|
+
}
|
|
14207
|
+
|
|
14208
|
+
|
|
14083
14209
|
// @function getMousePosition(ev: DOMEvent, container?: HTMLElement): Point
|
|
14084
14210
|
// Gets normalized mouse position from a DOM event relative to the
|
|
14085
14211
|
// `container` (border excluded) or to the whole page if not specified.
|
|
@@ -14099,12 +14225,15 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
14099
14225
|
);
|
|
14100
14226
|
}
|
|
14101
14227
|
|
|
14102
|
-
// Chrome on Win scrolls double the pixels as in other platforms (see #4538),
|
|
14103
|
-
// and Firefox scrolls device pixels, not CSS pixels
|
|
14104
|
-
var wheelPxFactor =
|
|
14105
|
-
(Browser.win && Browser.chrome) ? 2 * window.devicePixelRatio :
|
|
14106
|
-
Browser.gecko ? window.devicePixelRatio : 1;
|
|
14107
14228
|
|
|
14229
|
+
// except , Safari and
|
|
14230
|
+
// We need double the scroll pixels (see #7403 and #4538) for all Browsers
|
|
14231
|
+
// except OSX (Mac) -> 3x, Chrome running on Linux 1x
|
|
14232
|
+
|
|
14233
|
+
var wheelPxFactor =
|
|
14234
|
+
(Browser.linux && Browser.chrome) ? window.devicePixelRatio :
|
|
14235
|
+
Browser.mac ? window.devicePixelRatio * 3 :
|
|
14236
|
+
window.devicePixelRatio > 0 ? 2 * window.devicePixelRatio : 1;
|
|
14108
14237
|
// @function getWheelDelta(ev: DOMEvent): Number
|
|
14109
14238
|
// Gets normalized wheel delta from a wheel DOM event, in vertical
|
|
14110
14239
|
// pixels scrolled (negative if scrolling down).
|
|
@@ -14148,6 +14277,7 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
14148
14277
|
disableClickPropagation: disableClickPropagation,
|
|
14149
14278
|
preventDefault: preventDefault,
|
|
14150
14279
|
stop: stop,
|
|
14280
|
+
getPropagationPath: getPropagationPath,
|
|
14151
14281
|
getMousePosition: getMousePosition,
|
|
14152
14282
|
getWheelDelta: getWheelDelta,
|
|
14153
14283
|
isExternalTarget: isExternalTarget,
|
|
@@ -14163,8 +14293,21 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
14163
14293
|
*
|
|
14164
14294
|
* @example
|
|
14165
14295
|
* ```js
|
|
14166
|
-
* var
|
|
14167
|
-
*
|
|
14296
|
+
* var myPositionMarker = L.marker([48.864716, 2.294694]).addTo(map);
|
|
14297
|
+
*
|
|
14298
|
+
* myPositionMarker.on("click", function() {
|
|
14299
|
+
* var pos = map.latLngToLayerPoint(myPositionMarker.getLatLng());
|
|
14300
|
+
* pos.y -= 25;
|
|
14301
|
+
* var fx = new L.PosAnimation();
|
|
14302
|
+
*
|
|
14303
|
+
* fx.once('end',function() {
|
|
14304
|
+
* pos.y += 25;
|
|
14305
|
+
* fx.run(myPositionMarker._icon, pos, 0.8);
|
|
14306
|
+
* });
|
|
14307
|
+
*
|
|
14308
|
+
* fx.run(myPositionMarker._icon, pos, 0.3);
|
|
14309
|
+
* });
|
|
14310
|
+
*
|
|
14168
14311
|
* ```
|
|
14169
14312
|
*
|
|
14170
14313
|
* @constructor L.PosAnimation()
|
|
@@ -14444,7 +14587,7 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
14444
14587
|
}
|
|
14445
14588
|
|
|
14446
14589
|
// animation didn't start, just reset the map view
|
|
14447
|
-
this._resetView(center, zoom);
|
|
14590
|
+
this._resetView(center, zoom, options.pan && options.pan.noMoveStart);
|
|
14448
14591
|
|
|
14449
14592
|
return this;
|
|
14450
14593
|
},
|
|
@@ -14687,11 +14830,13 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
14687
14830
|
setMaxBounds: function (bounds) {
|
|
14688
14831
|
bounds = toLatLngBounds(bounds);
|
|
14689
14832
|
|
|
14833
|
+
if (this.listens('moveend', this._panInsideMaxBounds)) {
|
|
14834
|
+
this.off('moveend', this._panInsideMaxBounds);
|
|
14835
|
+
}
|
|
14836
|
+
|
|
14690
14837
|
if (!bounds.isValid()) {
|
|
14691
14838
|
this.options.maxBounds = null;
|
|
14692
|
-
return this
|
|
14693
|
-
} else if (this.options.maxBounds) {
|
|
14694
|
-
this.off('moveend', this._panInsideMaxBounds);
|
|
14839
|
+
return this;
|
|
14695
14840
|
}
|
|
14696
14841
|
|
|
14697
14842
|
this.options.maxBounds = bounds;
|
|
@@ -15061,7 +15206,7 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
15061
15206
|
this._checkIfLoaded();
|
|
15062
15207
|
|
|
15063
15208
|
if (this._lastCenter && !this._moved()) {
|
|
15064
|
-
return this._lastCenter;
|
|
15209
|
+
return this._lastCenter.clone();
|
|
15065
15210
|
}
|
|
15066
15211
|
return this.layerPointToLatLng(this._getCenterLayerPoint());
|
|
15067
15212
|
},
|
|
@@ -15410,7 +15555,7 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
15410
15555
|
// private methods that modify map state
|
|
15411
15556
|
|
|
15412
15557
|
// @section Map state change events
|
|
15413
|
-
_resetView: function (center, zoom) {
|
|
15558
|
+
_resetView: function (center, zoom, noMoveStart) {
|
|
15414
15559
|
setPosition(this._mapPane, new Point(0, 0));
|
|
15415
15560
|
|
|
15416
15561
|
var loading = !this._loaded;
|
|
@@ -15421,7 +15566,7 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
15421
15566
|
|
|
15422
15567
|
var zoomChanged = this._zoom !== zoom;
|
|
15423
15568
|
this
|
|
15424
|
-
._moveStart(zoomChanged,
|
|
15569
|
+
._moveStart(zoomChanged, noMoveStart)
|
|
15425
15570
|
._move(center, zoom)
|
|
15426
15571
|
._moveEnd(zoomChanged);
|
|
15427
15572
|
|
|
@@ -15618,7 +15763,7 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
15618
15763
|
},
|
|
15619
15764
|
|
|
15620
15765
|
_isClickDisabled: function (el) {
|
|
15621
|
-
while (el !== this._container) {
|
|
15766
|
+
while (el && el !== this._container) {
|
|
15622
15767
|
if (el['_leaflet_disable_click']) { return true; }
|
|
15623
15768
|
el = el.parentNode;
|
|
15624
15769
|
}
|
|
@@ -16844,7 +16989,7 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
16844
16989
|
return new Scale(options);
|
|
16845
16990
|
};
|
|
16846
16991
|
|
|
16847
|
-
var ukrainianFlag = '<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg>';
|
|
16992
|
+
var ukrainianFlag = '<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg>';
|
|
16848
16993
|
|
|
16849
16994
|
|
|
16850
16995
|
/*
|
|
@@ -16913,7 +17058,7 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
16913
17058
|
},
|
|
16914
17059
|
|
|
16915
17060
|
// @method addAttribution(text: String): this
|
|
16916
|
-
// Adds an attribution text (e.g. `'
|
|
17061
|
+
// Adds an attribution text (e.g. `'© OpenStreetMap contributors'`).
|
|
16917
17062
|
addAttribution: function (text) {
|
|
16918
17063
|
if (!text) { return this; }
|
|
16919
17064
|
|
|
@@ -17503,6 +17648,55 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
17503
17648
|
function _flat(latlngs) {
|
|
17504
17649
|
console.warn('Deprecated use of _flat, please use L.LineUtil.isFlat instead.');
|
|
17505
17650
|
return isFlat(latlngs);
|
|
17651
|
+
}
|
|
17652
|
+
|
|
17653
|
+
/* @function polylineCenter(latlngs: LatLng[], crs: CRS): LatLng
|
|
17654
|
+
* Returns the center ([centroid](http://en.wikipedia.org/wiki/Centroid)) of the passed LatLngs (first ring) from a polyline.
|
|
17655
|
+
*/
|
|
17656
|
+
function polylineCenter(latlngs, crs) {
|
|
17657
|
+
var i, halfDist, segDist, dist, p1, p2, ratio, center;
|
|
17658
|
+
|
|
17659
|
+
if (!latlngs || latlngs.length === 0) {
|
|
17660
|
+
throw new Error('latlngs not passed');
|
|
17661
|
+
}
|
|
17662
|
+
|
|
17663
|
+
if (!isFlat(latlngs)) {
|
|
17664
|
+
console.warn('latlngs are not flat! Only the first ring will be used');
|
|
17665
|
+
latlngs = latlngs[0];
|
|
17666
|
+
}
|
|
17667
|
+
|
|
17668
|
+
var points = [];
|
|
17669
|
+
for (var j in latlngs) {
|
|
17670
|
+
points.push(crs.project(toLatLng(latlngs[j])));
|
|
17671
|
+
}
|
|
17672
|
+
|
|
17673
|
+
var len = points.length;
|
|
17674
|
+
|
|
17675
|
+
for (i = 0, halfDist = 0; i < len - 1; i++) {
|
|
17676
|
+
halfDist += points[i].distanceTo(points[i + 1]) / 2;
|
|
17677
|
+
}
|
|
17678
|
+
|
|
17679
|
+
// The line is so small in the current view that all points are on the same pixel.
|
|
17680
|
+
if (halfDist === 0) {
|
|
17681
|
+
center = points[0];
|
|
17682
|
+
} else {
|
|
17683
|
+
for (i = 0, dist = 0; i < len - 1; i++) {
|
|
17684
|
+
p1 = points[i];
|
|
17685
|
+
p2 = points[i + 1];
|
|
17686
|
+
segDist = p1.distanceTo(p2);
|
|
17687
|
+
dist += segDist;
|
|
17688
|
+
|
|
17689
|
+
if (dist > halfDist) {
|
|
17690
|
+
ratio = (dist - halfDist) / segDist;
|
|
17691
|
+
center = [
|
|
17692
|
+
p2.x - ratio * (p2.x - p1.x),
|
|
17693
|
+
p2.y - ratio * (p2.y - p1.y)
|
|
17694
|
+
];
|
|
17695
|
+
break;
|
|
17696
|
+
}
|
|
17697
|
+
}
|
|
17698
|
+
}
|
|
17699
|
+
return crs.unproject(toPoint(center));
|
|
17506
17700
|
}
|
|
17507
17701
|
|
|
17508
17702
|
var LineUtil = {
|
|
@@ -17515,7 +17709,8 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
17515
17709
|
_getBitCode: _getBitCode,
|
|
17516
17710
|
_sqClosestPointOnSegment: _sqClosestPointOnSegment,
|
|
17517
17711
|
isFlat: isFlat,
|
|
17518
|
-
_flat: _flat
|
|
17712
|
+
_flat: _flat,
|
|
17713
|
+
polylineCenter: polylineCenter
|
|
17519
17714
|
};
|
|
17520
17715
|
|
|
17521
17716
|
/*
|
|
@@ -17570,11 +17765,55 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
17570
17765
|
}
|
|
17571
17766
|
|
|
17572
17767
|
return points;
|
|
17768
|
+
}
|
|
17769
|
+
|
|
17770
|
+
/* @function polygonCenter(latlngs: LatLng[] crs: CRS): LatLng
|
|
17771
|
+
* Returns the center ([centroid](http://en.wikipedia.org/wiki/Centroid)) of the passed LatLngs (first ring) from a polygon.
|
|
17772
|
+
*/
|
|
17773
|
+
function polygonCenter(latlngs, crs) {
|
|
17774
|
+
var i, j, p1, p2, f, area, x, y, center;
|
|
17775
|
+
|
|
17776
|
+
if (!latlngs || latlngs.length === 0) {
|
|
17777
|
+
throw new Error('latlngs not passed');
|
|
17778
|
+
}
|
|
17779
|
+
|
|
17780
|
+
if (!isFlat(latlngs)) {
|
|
17781
|
+
console.warn('latlngs are not flat! Only the first ring will be used');
|
|
17782
|
+
latlngs = latlngs[0];
|
|
17783
|
+
}
|
|
17784
|
+
|
|
17785
|
+
var points = [];
|
|
17786
|
+
for (var k in latlngs) {
|
|
17787
|
+
points.push(crs.project(toLatLng(latlngs[k])));
|
|
17788
|
+
}
|
|
17789
|
+
|
|
17790
|
+
var len = points.length;
|
|
17791
|
+
area = x = y = 0;
|
|
17792
|
+
|
|
17793
|
+
// polygon centroid algorithm;
|
|
17794
|
+
for (i = 0, j = len - 1; i < len; j = i++) {
|
|
17795
|
+
p1 = points[i];
|
|
17796
|
+
p2 = points[j];
|
|
17797
|
+
|
|
17798
|
+
f = p1.y * p2.x - p2.y * p1.x;
|
|
17799
|
+
x += (p1.x + p2.x) * f;
|
|
17800
|
+
y += (p1.y + p2.y) * f;
|
|
17801
|
+
area += f * 3;
|
|
17802
|
+
}
|
|
17803
|
+
|
|
17804
|
+
if (area === 0) {
|
|
17805
|
+
// Polygon is so small that all points are on same pixel.
|
|
17806
|
+
center = points[0];
|
|
17807
|
+
} else {
|
|
17808
|
+
center = [x / area, y / area];
|
|
17809
|
+
}
|
|
17810
|
+
return crs.unproject(toPoint(center));
|
|
17573
17811
|
}
|
|
17574
17812
|
|
|
17575
17813
|
var PolyUtil = {
|
|
17576
17814
|
__proto__: null,
|
|
17577
|
-
clipPolygon: clipPolygon
|
|
17815
|
+
clipPolygon: clipPolygon,
|
|
17816
|
+
polygonCenter: polygonCenter
|
|
17578
17817
|
};
|
|
17579
17818
|
|
|
17580
17819
|
/*
|
|
@@ -19533,38 +19772,7 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
19533
19772
|
if (!this._map) {
|
|
19534
19773
|
throw new Error('Must add layer to map before using getCenter()');
|
|
19535
19774
|
}
|
|
19536
|
-
|
|
19537
|
-
var i, halfDist, segDist, dist, p1, p2, ratio,
|
|
19538
|
-
points = this._rings[0],
|
|
19539
|
-
len = points.length;
|
|
19540
|
-
|
|
19541
|
-
if (!len) { return null; }
|
|
19542
|
-
|
|
19543
|
-
// polyline centroid algorithm; only uses the first ring if there are multiple
|
|
19544
|
-
|
|
19545
|
-
for (i = 0, halfDist = 0; i < len - 1; i++) {
|
|
19546
|
-
halfDist += points[i].distanceTo(points[i + 1]) / 2;
|
|
19547
|
-
}
|
|
19548
|
-
|
|
19549
|
-
// The line is so small in the current view that all points are on the same pixel.
|
|
19550
|
-
if (halfDist === 0) {
|
|
19551
|
-
return this._map.layerPointToLatLng(points[0]);
|
|
19552
|
-
}
|
|
19553
|
-
|
|
19554
|
-
for (i = 0, dist = 0; i < len - 1; i++) {
|
|
19555
|
-
p1 = points[i];
|
|
19556
|
-
p2 = points[i + 1];
|
|
19557
|
-
segDist = p1.distanceTo(p2);
|
|
19558
|
-
dist += segDist;
|
|
19559
|
-
|
|
19560
|
-
if (dist > halfDist) {
|
|
19561
|
-
ratio = (dist - halfDist) / segDist;
|
|
19562
|
-
return this._map.layerPointToLatLng([
|
|
19563
|
-
p2.x - ratio * (p2.x - p1.x),
|
|
19564
|
-
p2.y - ratio * (p2.y - p1.y)
|
|
19565
|
-
]);
|
|
19566
|
-
}
|
|
19567
|
-
}
|
|
19775
|
+
return polylineCenter(this._defaultShape(), this._map.options.crs);
|
|
19568
19776
|
},
|
|
19569
19777
|
|
|
19570
19778
|
// @method getBounds(): LatLngBounds
|
|
@@ -19806,39 +20014,14 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
19806
20014
|
return !this._latlngs.length || !this._latlngs[0].length;
|
|
19807
20015
|
},
|
|
19808
20016
|
|
|
20017
|
+
// @method getCenter(): LatLng
|
|
20018
|
+
// Returns the center ([centroid](http://en.wikipedia.org/wiki/Centroid)) of the Polygon.
|
|
19809
20019
|
getCenter: function () {
|
|
19810
20020
|
// throws error when not yet added to map as this center calculation requires projected coordinates
|
|
19811
20021
|
if (!this._map) {
|
|
19812
20022
|
throw new Error('Must add layer to map before using getCenter()');
|
|
19813
20023
|
}
|
|
19814
|
-
|
|
19815
|
-
var i, j, p1, p2, f, area, x, y, center,
|
|
19816
|
-
points = this._rings[0],
|
|
19817
|
-
len = points.length;
|
|
19818
|
-
|
|
19819
|
-
if (!len) { return null; }
|
|
19820
|
-
|
|
19821
|
-
// polygon centroid algorithm; only uses the first ring if there are multiple
|
|
19822
|
-
|
|
19823
|
-
area = x = y = 0;
|
|
19824
|
-
|
|
19825
|
-
for (i = 0, j = len - 1; i < len; j = i++) {
|
|
19826
|
-
p1 = points[i];
|
|
19827
|
-
p2 = points[j];
|
|
19828
|
-
|
|
19829
|
-
f = p1.y * p2.x - p2.y * p1.x;
|
|
19830
|
-
x += (p1.x + p2.x) * f;
|
|
19831
|
-
y += (p1.y + p2.y) * f;
|
|
19832
|
-
area += f * 3;
|
|
19833
|
-
}
|
|
19834
|
-
|
|
19835
|
-
if (area === 0) {
|
|
19836
|
-
// Polygon is so small that all points are on same pixel.
|
|
19837
|
-
center = points[0];
|
|
19838
|
-
} else {
|
|
19839
|
-
center = [x / area, y / area];
|
|
19840
|
-
}
|
|
19841
|
-
return this._map.layerPointToLatLng(center);
|
|
20024
|
+
return polygonCenter(this._defaultShape(), this._map.options.crs);
|
|
19842
20025
|
},
|
|
19843
20026
|
|
|
19844
20027
|
_convertLatLngs: function (latlngs) {
|
|
@@ -20123,14 +20306,24 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
20123
20306
|
|
|
20124
20307
|
case 'GeometryCollection':
|
|
20125
20308
|
for (i = 0, len = geometry.geometries.length; i < len; i++) {
|
|
20126
|
-
var
|
|
20309
|
+
var geoLayer = geometryToLayer({
|
|
20127
20310
|
geometry: geometry.geometries[i],
|
|
20128
20311
|
type: 'Feature',
|
|
20129
20312
|
properties: geojson.properties
|
|
20130
20313
|
}, options);
|
|
20131
20314
|
|
|
20132
|
-
if (
|
|
20133
|
-
layers.push(
|
|
20315
|
+
if (geoLayer) {
|
|
20316
|
+
layers.push(geoLayer);
|
|
20317
|
+
}
|
|
20318
|
+
}
|
|
20319
|
+
return new FeatureGroup(layers);
|
|
20320
|
+
|
|
20321
|
+
case 'FeatureCollection':
|
|
20322
|
+
for (i = 0, len = geometry.features.length; i < len; i++) {
|
|
20323
|
+
var featureLayer = geometryToLayer(geometry.features[i], options);
|
|
20324
|
+
|
|
20325
|
+
if (featureLayer) {
|
|
20326
|
+
layers.push(featureLayer);
|
|
20134
20327
|
}
|
|
20135
20328
|
}
|
|
20136
20329
|
return new FeatureGroup(layers);
|
|
@@ -20189,8 +20382,9 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
20189
20382
|
var coords = [];
|
|
20190
20383
|
|
|
20191
20384
|
for (var i = 0, len = latlngs.length; i < len; i++) {
|
|
20385
|
+
// Check for flat arrays required to ensure unbalanced arrays are correctly converted in recursion
|
|
20192
20386
|
coords.push(levelsDeep ?
|
|
20193
|
-
latLngsToCoords(latlngs[i], levelsDeep - 1, closed, precision) :
|
|
20387
|
+
latLngsToCoords(latlngs[i], isFlat(latlngs[i]) ? 0 : levelsDeep - 1, closed, precision) :
|
|
20194
20388
|
latLngToCoords(latlngs[i], precision));
|
|
20195
20389
|
}
|
|
20196
20390
|
|
|
@@ -20799,13 +20993,25 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
20799
20993
|
|
|
20800
20994
|
// @option pane: String = undefined
|
|
20801
20995
|
// `Map pane` where the overlay will be added.
|
|
20802
|
-
pane: undefined
|
|
20996
|
+
pane: undefined,
|
|
20997
|
+
|
|
20998
|
+
// @option content: String|HTMLElement|Function = ''
|
|
20999
|
+
// Sets the HTML content of the overlay while initializing. If a function is passed the source layer will be
|
|
21000
|
+
// passed to the function. The function should return a `String` or `HTMLElement` to be used in the overlay.
|
|
21001
|
+
content: ''
|
|
20803
21002
|
},
|
|
20804
21003
|
|
|
20805
21004
|
initialize: function (options, source) {
|
|
20806
|
-
|
|
20807
|
-
|
|
20808
|
-
|
|
21005
|
+
if (options && (options instanceof L.LatLng || isArray(options))) {
|
|
21006
|
+
this._latlng = toLatLng(options);
|
|
21007
|
+
setOptions(this, source);
|
|
21008
|
+
} else {
|
|
21009
|
+
setOptions(this, options);
|
|
21010
|
+
this._source = source;
|
|
21011
|
+
}
|
|
21012
|
+
if (this.options.content) {
|
|
21013
|
+
this._content = this.options.content;
|
|
21014
|
+
}
|
|
20809
21015
|
},
|
|
20810
21016
|
|
|
20811
21017
|
// @method openOn(map: Map): this
|
|
@@ -21117,7 +21323,8 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
21117
21323
|
* marker.bindPopup(popupContent).openPopup();
|
|
21118
21324
|
* ```
|
|
21119
21325
|
* Path overlays like polylines also have a `bindPopup` method.
|
|
21120
|
-
*
|
|
21326
|
+
*
|
|
21327
|
+
* A popup can be also standalone:
|
|
21121
21328
|
*
|
|
21122
21329
|
* ```js
|
|
21123
21330
|
* var popup = L.popup()
|
|
@@ -21125,6 +21332,11 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
21125
21332
|
* .setContent('<p>Hello world!<br />This is a nice popup.</p>')
|
|
21126
21333
|
* .openOn(map);
|
|
21127
21334
|
* ```
|
|
21335
|
+
* or
|
|
21336
|
+
* ```js
|
|
21337
|
+
* var popup = L.popup(latlng, {content: '<p>Hello world!<br />This is a nice popup.</p>')
|
|
21338
|
+
* .openOn(map);
|
|
21339
|
+
* ```
|
|
21128
21340
|
*/
|
|
21129
21341
|
|
|
21130
21342
|
|
|
@@ -21153,6 +21365,8 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
21153
21365
|
// @option maxHeight: Number = null
|
|
21154
21366
|
// If set, creates a scrollable container of the given height
|
|
21155
21367
|
// inside a popup if its content exceeds it.
|
|
21368
|
+
// The scrollable container can be styled using the
|
|
21369
|
+
// `leaflet-popup-scrolled` CSS class selector.
|
|
21156
21370
|
maxHeight: null,
|
|
21157
21371
|
|
|
21158
21372
|
// @option autoPan: Boolean = true
|
|
@@ -21298,7 +21512,10 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
21298
21512
|
closeButton.href = '#close';
|
|
21299
21513
|
closeButton.innerHTML = '<span aria-hidden="true">×</span>';
|
|
21300
21514
|
|
|
21301
|
-
on(closeButton, 'click',
|
|
21515
|
+
on(closeButton, 'click', function (ev) {
|
|
21516
|
+
preventDefault(ev);
|
|
21517
|
+
this.close();
|
|
21518
|
+
}, this);
|
|
21302
21519
|
}
|
|
21303
21520
|
},
|
|
21304
21521
|
|
|
@@ -21392,6 +21609,9 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
21392
21609
|
// @namespace Popup
|
|
21393
21610
|
// @factory L.popup(options?: Popup options, source?: Layer)
|
|
21394
21611
|
// Instantiates a `Popup` object given an optional `options` object that describes its appearance and location and an optional `source` object that is used to tag the popup with a reference to the Layer to which it refers.
|
|
21612
|
+
// @alternative
|
|
21613
|
+
// @factory L.popup(latlng: LatLng, options?: Popup options)
|
|
21614
|
+
// Instantiates a `Popup` object given `latlng` where the popup will open and an optional `options` object that describes its appearance and location.
|
|
21395
21615
|
var popup = function (options, source) {
|
|
21396
21616
|
return new Popup(options, source);
|
|
21397
21617
|
};
|
|
@@ -21489,7 +21709,8 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
21489
21709
|
// @method openPopup(latlng?: LatLng): this
|
|
21490
21710
|
// Opens the bound popup at the specified `latlng` or at the default popup anchor if no `latlng` is passed.
|
|
21491
21711
|
openPopup: function (latlng) {
|
|
21492
|
-
if (this._popup && this._popup._prepareOpen(latlng)) {
|
|
21712
|
+
if (this._popup && this._popup._prepareOpen(latlng || this._latlng)) {
|
|
21713
|
+
|
|
21493
21714
|
// open the popup on the map
|
|
21494
21715
|
this._popup.openOn(this._map);
|
|
21495
21716
|
}
|
|
@@ -21575,10 +21796,28 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
21575
21796
|
* Used to display small texts on top of map layers.
|
|
21576
21797
|
*
|
|
21577
21798
|
* @example
|
|
21799
|
+
* If you want to just bind a tooltip to marker:
|
|
21578
21800
|
*
|
|
21579
21801
|
* ```js
|
|
21580
21802
|
* marker.bindTooltip("my tooltip text").openTooltip();
|
|
21581
21803
|
* ```
|
|
21804
|
+
* Path overlays like polylines also have a `bindTooltip` method.
|
|
21805
|
+
*
|
|
21806
|
+
* A tooltip can be also standalone:
|
|
21807
|
+
*
|
|
21808
|
+
* ```js
|
|
21809
|
+
* var tooltip = L.tooltip()
|
|
21810
|
+
* .setLatLng(latlng)
|
|
21811
|
+
* .setContent('Hello world!<br />This is a nice tooltip.')
|
|
21812
|
+
* .addTo(map);
|
|
21813
|
+
* ```
|
|
21814
|
+
* or
|
|
21815
|
+
* ```js
|
|
21816
|
+
* var tooltip = L.tooltip(latlng, {content: 'Hello world!<br />This is a nice tooltip.'})
|
|
21817
|
+
* .addTo(map);
|
|
21818
|
+
* ```
|
|
21819
|
+
*
|
|
21820
|
+
*
|
|
21582
21821
|
* Note about tooltip offset. Leaflet takes two options in consideration
|
|
21583
21822
|
* for computing tooltip offsetting:
|
|
21584
21823
|
* - the `offset` Tooltip option: it defaults to [0, 0], and it's specific to one tooltip.
|
|
@@ -21679,6 +21918,9 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
21679
21918
|
className = prefix + ' ' + (this.options.className || '') + ' leaflet-zoom-' + (this._zoomAnimated ? 'animated' : 'hide');
|
|
21680
21919
|
|
|
21681
21920
|
this._contentNode = this._container = create$1('div', className);
|
|
21921
|
+
|
|
21922
|
+
this._container.setAttribute('role', 'tooltip');
|
|
21923
|
+
this._container.setAttribute('id', 'leaflet-tooltip-' + stamp(this));
|
|
21682
21924
|
},
|
|
21683
21925
|
|
|
21684
21926
|
_updateLayout: function () {},
|
|
@@ -21759,7 +22001,10 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
21759
22001
|
|
|
21760
22002
|
// @namespace Tooltip
|
|
21761
22003
|
// @factory L.tooltip(options?: Tooltip options, source?: Layer)
|
|
21762
|
-
// Instantiates a Tooltip object given an optional `options` object that describes its appearance and location and an optional `source` object that is used to tag the tooltip with a reference to the Layer to which it refers.
|
|
22004
|
+
// Instantiates a `Tooltip` object given an optional `options` object that describes its appearance and location and an optional `source` object that is used to tag the tooltip with a reference to the Layer to which it refers.
|
|
22005
|
+
// @alternative
|
|
22006
|
+
// @factory L.tooltip(latlng: LatLng, options?: Tooltip options)
|
|
22007
|
+
// Instantiates a `Tooltip` object given `latlng` where the tooltip will open and an optional `options` object that describes its appearance and location.
|
|
21763
22008
|
var tooltip = function (options, source) {
|
|
21764
22009
|
return new Tooltip(options, source);
|
|
21765
22010
|
};
|
|
@@ -21847,6 +22092,11 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
21847
22092
|
events.mouseover = this._openTooltip;
|
|
21848
22093
|
events.mouseout = this.closeTooltip;
|
|
21849
22094
|
events.click = this._openTooltip;
|
|
22095
|
+
if (this._map) {
|
|
22096
|
+
this._addFocusListeners();
|
|
22097
|
+
} else {
|
|
22098
|
+
events.add = this._addFocusListeners;
|
|
22099
|
+
}
|
|
21850
22100
|
} else {
|
|
21851
22101
|
events.add = this._openTooltip;
|
|
21852
22102
|
}
|
|
@@ -21863,6 +22113,12 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
21863
22113
|
if (this._tooltip && this._tooltip._prepareOpen(latlng)) {
|
|
21864
22114
|
// open the tooltip on the map
|
|
21865
22115
|
this._tooltip.openOn(this._map);
|
|
22116
|
+
|
|
22117
|
+
if (this.getElement) {
|
|
22118
|
+
this._setAriaDescribedByOnLayer(this);
|
|
22119
|
+
} else if (this.eachLayer) {
|
|
22120
|
+
this.eachLayer(this._setAriaDescribedByOnLayer, this);
|
|
22121
|
+
}
|
|
21866
22122
|
}
|
|
21867
22123
|
return this;
|
|
21868
22124
|
},
|
|
@@ -21905,6 +22161,33 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
21905
22161
|
return this._tooltip;
|
|
21906
22162
|
},
|
|
21907
22163
|
|
|
22164
|
+
_addFocusListeners: function () {
|
|
22165
|
+
if (this.getElement) {
|
|
22166
|
+
this._addFocusListenersOnLayer(this);
|
|
22167
|
+
} else if (this.eachLayer) {
|
|
22168
|
+
this.eachLayer(this._addFocusListenersOnLayer, this);
|
|
22169
|
+
}
|
|
22170
|
+
},
|
|
22171
|
+
|
|
22172
|
+
_addFocusListenersOnLayer: function (layer) {
|
|
22173
|
+
var el = layer.getElement();
|
|
22174
|
+
if (el) {
|
|
22175
|
+
on(el, 'focus', function () {
|
|
22176
|
+
this._tooltip._source = layer;
|
|
22177
|
+
this.openTooltip();
|
|
22178
|
+
}, this);
|
|
22179
|
+
on(el, 'blur', this.closeTooltip, this);
|
|
22180
|
+
}
|
|
22181
|
+
},
|
|
22182
|
+
|
|
22183
|
+
_setAriaDescribedByOnLayer: function (layer) {
|
|
22184
|
+
var el = layer.getElement();
|
|
22185
|
+
if (el) {
|
|
22186
|
+
el.setAttribute('aria-describedby', this._tooltip._container.id);
|
|
22187
|
+
}
|
|
22188
|
+
},
|
|
22189
|
+
|
|
22190
|
+
|
|
21908
22191
|
_openTooltip: function (e) {
|
|
21909
22192
|
if (!this._tooltip || !this._map || (this._map.dragging && this._map.dragging.moving())) {
|
|
21910
22193
|
return;
|
|
@@ -22923,7 +23206,7 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
22923
23206
|
* @example
|
|
22924
23207
|
*
|
|
22925
23208
|
* ```js
|
|
22926
|
-
* L.tileLayer('https://
|
|
23209
|
+
* L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png?{foo}', {foo: 'bar', attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'}).addTo(map);
|
|
22927
23210
|
* ```
|
|
22928
23211
|
*
|
|
22929
23212
|
* @section URL template
|
|
@@ -23010,13 +23293,19 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
23010
23293
|
|
|
23011
23294
|
if (!options.zoomReverse) {
|
|
23012
23295
|
options.zoomOffset++;
|
|
23013
|
-
options.maxZoom
|
|
23296
|
+
options.maxZoom = Math.max(options.minZoom, options.maxZoom - 1);
|
|
23014
23297
|
} else {
|
|
23015
23298
|
options.zoomOffset--;
|
|
23016
|
-
options.minZoom
|
|
23299
|
+
options.minZoom = Math.min(options.maxZoom, options.minZoom + 1);
|
|
23017
23300
|
}
|
|
23018
23301
|
|
|
23019
23302
|
options.minZoom = Math.max(0, options.minZoom);
|
|
23303
|
+
} else if (!options.zoomReverse) {
|
|
23304
|
+
// make sure maxZoom is gte minZoom
|
|
23305
|
+
options.maxZoom = Math.max(options.minZoom, options.maxZoom);
|
|
23306
|
+
} else {
|
|
23307
|
+
// make sure minZoom is lte maxZoom
|
|
23308
|
+
options.minZoom = Math.min(options.maxZoom, options.minZoom);
|
|
23020
23309
|
}
|
|
23021
23310
|
|
|
23022
23311
|
if (typeof options.subdomains === 'string') {
|
|
@@ -23063,18 +23352,12 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
23063
23352
|
tile.referrerPolicy = this.options.referrerPolicy;
|
|
23064
23353
|
}
|
|
23065
23354
|
|
|
23066
|
-
|
|
23067
|
-
|
|
23068
|
-
|
|
23069
|
-
|
|
23355
|
+
// The alt attribute is set to the empty string,
|
|
23356
|
+
// allowing screen readers to ignore the decorative image tiles.
|
|
23357
|
+
// https://www.w3.org/WAI/tutorials/images/decorative/
|
|
23358
|
+
// https://www.w3.org/TR/html-aria/#el-img-empty-alt
|
|
23070
23359
|
tile.alt = '';
|
|
23071
23360
|
|
|
23072
|
-
/*
|
|
23073
|
-
Set role="presentation" to force screen readers to ignore this
|
|
23074
|
-
https://www.w3.org/TR/wai-aria/roles#textalternativecomputation
|
|
23075
|
-
*/
|
|
23076
|
-
tile.setAttribute('role', 'presentation');
|
|
23077
|
-
|
|
23078
23361
|
tile.src = this.getTileUrl(coords);
|
|
23079
23362
|
|
|
23080
23363
|
return tile;
|
|
@@ -25267,7 +25550,7 @@ this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e)
|
|
|
25267
25550
|
|
|
25268
25551
|
cancelAnimFrame(this._animRequest);
|
|
25269
25552
|
|
|
25270
|
-
var moveFn = bind(map._move, map, this._center, this._zoom, {pinch: true, round: false});
|
|
25553
|
+
var moveFn = bind(map._move, map, this._center, this._zoom, {pinch: true, round: false}, undefined);
|
|
25271
25554
|
this._animRequest = requestAnimFrame(moveFn, this, true);
|
|
25272
25555
|
|
|
25273
25556
|
preventDefault(e);
|
|
@@ -26012,46 +26295,6 @@ function styleTagTransform(css, styleElement) {
|
|
|
26012
26295
|
|
|
26013
26296
|
module.exports = styleTagTransform;
|
|
26014
26297
|
|
|
26015
|
-
/***/ }),
|
|
26016
|
-
|
|
26017
|
-
/***/ 163:
|
|
26018
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
26019
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
26020
|
-
/* harmony export */ "ZT": () => (/* binding */ __extends)
|
|
26021
|
-
/* harmony export */ });
|
|
26022
|
-
/* unused harmony exports __assign, __rest, __decorate, __param, __metadata, __awaiter, __generator, __createBinding, __exportStar, __values, __read, __spread, __spreadArrays, __spreadArray, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __classPrivateFieldIn */
|
|
26023
|
-
/******************************************************************************
|
|
26024
|
-
Copyright (c) Microsoft Corporation.
|
|
26025
|
-
|
|
26026
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
26027
|
-
purpose with or without fee is hereby granted.
|
|
26028
|
-
|
|
26029
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
26030
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
26031
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
26032
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
26033
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
26034
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
26035
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
26036
|
-
***************************************************************************** */
|
|
26037
|
-
/* global Reflect, Promise */
|
|
26038
|
-
|
|
26039
|
-
var extendStatics = function(d, b) {
|
|
26040
|
-
extendStatics = Object.setPrototypeOf ||
|
|
26041
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
26042
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
26043
|
-
return extendStatics(d, b);
|
|
26044
|
-
};
|
|
26045
|
-
|
|
26046
|
-
function __extends(d, b) {
|
|
26047
|
-
if (typeof b !== "function" && b !== null)
|
|
26048
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
26049
|
-
extendStatics(d, b);
|
|
26050
|
-
function __() { this.constructor = d; }
|
|
26051
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
26052
|
-
}
|
|
26053
|
-
|
|
26054
|
-
|
|
26055
26298
|
/***/ }),
|
|
26056
26299
|
|
|
26057
26300
|
/***/ 57:
|
|
@@ -26276,8 +26519,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
26276
26519
|
"c": () => (/* binding */ LeafletLayer)
|
|
26277
26520
|
});
|
|
26278
26521
|
|
|
26279
|
-
// EXTERNAL MODULE:
|
|
26280
|
-
var tslib_es6 = __webpack_require__(
|
|
26522
|
+
// EXTERNAL MODULE: ./node_modules/tslib/tslib.es6.js
|
|
26523
|
+
var tslib_es6 = __webpack_require__(655);
|
|
26281
26524
|
/* harmony default export */ function identity(x) {
|
|
26282
26525
|
return x;
|
|
26283
26526
|
}
|
|
@@ -27908,7 +28151,7 @@ var D3SvgOverlay_D3SvgOverlay = /** @class */ (function (_super) {
|
|
|
27908
28151
|
/* harmony export */ "O": () => (/* binding */ LeafletLayer2),
|
|
27909
28152
|
/* harmony export */ "c": () => (/* binding */ HeatLayer)
|
|
27910
28153
|
/* harmony export */ });
|
|
27911
|
-
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
28154
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(655);
|
|
27912
28155
|
/* harmony import */ var leaflet__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(62);
|
|
27913
28156
|
/* harmony import */ var simpleheat__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(10);
|
|
27914
28157
|
/* harmony import */ var simpleheat__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(simpleheat__WEBPACK_IMPORTED_MODULE_1__);
|
|
@@ -28103,6 +28346,46 @@ var HeatLayer = /** @class */ (function (_super) {
|
|
|
28103
28346
|
|
|
28104
28347
|
|
|
28105
28348
|
|
|
28349
|
+
/***/ }),
|
|
28350
|
+
|
|
28351
|
+
/***/ 655:
|
|
28352
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
28353
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
28354
|
+
/* harmony export */ "ZT": () => (/* binding */ __extends)
|
|
28355
|
+
/* harmony export */ });
|
|
28356
|
+
/* unused harmony exports __assign, __rest, __decorate, __param, __metadata, __awaiter, __generator, __createBinding, __exportStar, __values, __read, __spread, __spreadArrays, __spreadArray, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __classPrivateFieldIn */
|
|
28357
|
+
/******************************************************************************
|
|
28358
|
+
Copyright (c) Microsoft Corporation.
|
|
28359
|
+
|
|
28360
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
28361
|
+
purpose with or without fee is hereby granted.
|
|
28362
|
+
|
|
28363
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
28364
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
28365
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
28366
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
28367
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
28368
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
28369
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
28370
|
+
***************************************************************************** */
|
|
28371
|
+
/* global Reflect, Promise */
|
|
28372
|
+
|
|
28373
|
+
var extendStatics = function(d, b) {
|
|
28374
|
+
extendStatics = Object.setPrototypeOf ||
|
|
28375
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
28376
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
28377
|
+
return extendStatics(d, b);
|
|
28378
|
+
};
|
|
28379
|
+
|
|
28380
|
+
function __extends(d, b) {
|
|
28381
|
+
if (typeof b !== "function" && b !== null)
|
|
28382
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
28383
|
+
extendStatics(d, b);
|
|
28384
|
+
function __() { this.constructor = d; }
|
|
28385
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28386
|
+
}
|
|
28387
|
+
|
|
28388
|
+
|
|
28106
28389
|
/***/ }),
|
|
28107
28390
|
|
|
28108
28391
|
/***/ 734:
|