@hpcc-js/map 3.6.2 → 3.6.4
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.js +129 -103
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +2 -2
- package/dist/index.umd.cjs.map +1 -1
- package/package.json +11 -10
- package/src/GMap.ts +55 -29
- package/src/leaflet/GMap.ts +0 -2
- package/types/GMap.d.ts +1 -0
package/dist/index.js
CHANGED
|
@@ -24,7 +24,7 @@ var ne = Object.create, re = Object.defineProperty, __name = (e, t) => re(e, "na
|
|
|
24
24
|
}, __toESM = (e, t, n) => (n = e == null ? {} : ne(oe(e)), __copyProps(t || !e || !e.__esModule ? re(n, "default", {
|
|
25
25
|
value: e,
|
|
26
26
|
enumerable: !0
|
|
27
|
-
}) : n, e)), ce = "@hpcc-js/map", le = "3.6.
|
|
27
|
+
}) : n, e)), ce = "@hpcc-js/map", le = "3.6.4", ue = "3.27.2";
|
|
28
28
|
//#endregion
|
|
29
29
|
//#region ../../node_modules/d3-quadtree/src/add.js
|
|
30
30
|
function add_default(e) {
|
|
@@ -3319,51 +3319,71 @@ var GeoHash = class extends Layer {
|
|
|
3319
3319
|
};
|
|
3320
3320
|
GeoHash.prototype._class += " map_GeoHash", GeoHash.prototype._palette = c.rainbow("default"), GeoHash.prototype.publish("paletteID", "YlOrRd", "set", "Color palette for this widget", GeoHash.prototype._palette.switch(), { tags: ["Basic", "Shared"] }), GeoHash.prototype.publish("useClonedPalette", !1, "boolean", "Enable or disable using a cloned palette", null, { tags: ["Intermediate", "Shared"] }), GeoHash.prototype.publish("opacity", 1, "number", "Opacity", null, { tags: ["Advanced"] }), GeoHash.prototype.publish("meshVisible", !0, "boolean", "Mesh Visibility"), GeoHash.prototype.publish("meshColor", null, "html-color", "Stroke Color", null, { optional: !0 }), GeoHash.prototype.publish("meshStrokeWidth", .25, "number", "Stroke Width");
|
|
3321
3321
|
//#endregion
|
|
3322
|
-
//#region ../../node_modules/
|
|
3323
|
-
var kn =
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
}
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3322
|
+
//#region ../../node_modules/@googlemaps/js-api-loader/dist/index.js
|
|
3323
|
+
var MSG_REPEATED_SET_OPTIONS = (e) => `The setOptions() function should only be called once. The options passed to the additional call (${JSON.stringify(e)}) will be ignored.`, MSG_IMPORT_LIBRARY_EXISTS = (e) => `The google.maps.importLibrary() function is already defined, and @googlemaps/js-api-loader will use the existing function instead of overwriting it. The options passed to setOptions (${JSON.stringify(e)}) will be ignored.`, kn = "No options were set before calling importLibrary. Make sure to configure the loader using setOptions().", An = "There already is a script loading the Google Maps JavaScript API, and no google.maps.importLibrary function is defined. @googlemaps/js-api-loader will proceed to bootstrap the API with the specified options, but the existing script might cause problems using the API. Make sure to remove the script loading the API.", jn = "The 'apiKey' parameter was used in setOptions(), but 'key' is the correct parameter name. Please update your configuration.", MSG_TRUSTED_TYPES_POLICY_FAILED = (e, t) => `Failed to create Trusted Types policy "${e}": ${t instanceof Error ? t.message : String(t)}.\n\nIf your Content Security Policy uses "require-trusted-types-for 'script'", allow this policy with "trusted-types ${e} google-maps-api-loader google-maps-api#html lit-html". The "google-maps-api-loader", "lit-html", and "google-maps-api#html" policies are required for full Maps JavaScript API execution. Falling back to a string script URL.`, Mn = process.env.NODE_ENV !== "production", Nn = Mn ? (e) => {
|
|
3324
|
+
console.warn(`[@googlemaps/js-api-loader] ${e}`);
|
|
3325
|
+
} : () => {}, Pn = Mn ? (e) => {
|
|
3326
|
+
console.info(`[@googlemaps/js-api-loader] ${e}`);
|
|
3327
|
+
} : () => {}, Fn = "@googlemaps/js-api-loader", In = { createScriptURL: (e) => e }, Ln;
|
|
3328
|
+
function getPolicy() {
|
|
3329
|
+
if (Ln) return Ln;
|
|
3330
|
+
let e = globalThis.trustedTypes;
|
|
3331
|
+
if (!e) return Ln = In, Ln;
|
|
3332
|
+
try {
|
|
3333
|
+
Ln = e.createPolicy(Fn, { createScriptURL: (e) => e });
|
|
3334
|
+
} catch (e) {
|
|
3335
|
+
Nn(MSG_TRUSTED_TYPES_POLICY_FAILED(Fn, e)), Ln = In;
|
|
3336
|
+
}
|
|
3337
|
+
return Ln;
|
|
3338
|
+
}
|
|
3339
|
+
function setScriptSrc(e, t) {
|
|
3340
|
+
e.src = getPolicy().createScriptURL(t);
|
|
3341
|
+
}
|
|
3342
|
+
var bootstrap = (e) => {
|
|
3343
|
+
var t, n, s, c = "The Google Maps JavaScript API", l = "google", d = "importLibrary", f = "__ib__", p = document, m = window, h = m[l] || (m[l] = {}), g = h.maps ||= {}, _ = /* @__PURE__ */ new Set(), v = new URLSearchParams(), triggerBootstrap = () => t ||= new Promise(async (d, m) => {
|
|
3344
|
+
for (s in await (n = p.createElement("script")), v.set("libraries", [..._] + ""), e) v.set(s.replace(/[A-Z]/g, (e) => "_" + e[0].toLowerCase()), e[s]);
|
|
3345
|
+
v.set("callback", l + ".maps." + f), setScriptSrc(n, "https://maps.googleapis.com/maps/api/js?" + v), g[f] = d, n.onerror = () => t = m(Error(c + " could not load.")), n.nonce = p.querySelector("script[nonce]")?.nonce || "", p.head.append(n);
|
|
3346
|
+
});
|
|
3347
|
+
g[d] ? console.warn(c + " only loads once. Ignoring:", e) : g[d] = (e, ...t) => _.add(e) && triggerBootstrap().then(() => g[d](e, ...t));
|
|
3348
|
+
}, Rn = process.env.NODE_ENV !== "production", zn = !1;
|
|
3349
|
+
function setOptions(e) {
|
|
3350
|
+
if (zn) {
|
|
3351
|
+
Nn(MSG_REPEATED_SET_OPTIONS(e));
|
|
3352
|
+
return;
|
|
3348
3353
|
}
|
|
3349
|
-
|
|
3350
|
-
|
|
3354
|
+
e.apiKey && (Nn(jn), e.key ||= e.apiKey), installImportLibrary_(e), zn = !0;
|
|
3355
|
+
}
|
|
3356
|
+
async function importLibrary(e) {
|
|
3357
|
+
if (zn || Nn(kn), !window?.google?.maps?.importLibrary) throw Error("google.maps.importLibrary is not installed.");
|
|
3358
|
+
return await google.maps.importLibrary(e);
|
|
3359
|
+
}
|
|
3360
|
+
function installImportLibrary_(e) {
|
|
3361
|
+
let t = !!window.google?.maps?.importLibrary;
|
|
3362
|
+
t ? Pn(MSG_IMPORT_LIBRARY_EXISTS(e)) : Rn && document.querySelector("script[src*=\"maps.googleapis.com/maps/api/js\"]") && Nn(An), t || bootstrap(e);
|
|
3363
|
+
}
|
|
3351
3364
|
//#endregion
|
|
3352
3365
|
//#region src/GMap.ts
|
|
3353
|
-
var Y = null,
|
|
3366
|
+
var Y = null, Bn = 15e3;
|
|
3354
3367
|
function requireGoogleMapTimeout(e) {
|
|
3355
|
-
|
|
3368
|
+
Bn = e;
|
|
3356
3369
|
}
|
|
3357
|
-
var
|
|
3370
|
+
var Vn;
|
|
3358
3371
|
function requireGoogleMap(e) {
|
|
3359
|
-
return
|
|
3372
|
+
return Vn ||= O(Bn, new Promise(function(t, n) {
|
|
3360
3373
|
if (Y) t();
|
|
3361
3374
|
else if (e) Y = e, t();
|
|
3362
3375
|
else {
|
|
3363
3376
|
window.__hpcc_gmap_apikey || console.warn("__hpcc_gmap_apikey does not contain a valid API key, reverting to developers key (expect limited performance)");
|
|
3364
3377
|
try {
|
|
3365
|
-
|
|
3366
|
-
|
|
3378
|
+
setOptions({
|
|
3379
|
+
key: window.__hpcc_gmap_apikey || "AIzaSyDwGn2i1i_pMZvnqYJN1BksD_tjYaCOWKg",
|
|
3380
|
+
libraries: ["geometry", "drawing"]
|
|
3381
|
+
}), Promise.all([
|
|
3382
|
+
importLibrary("maps"),
|
|
3383
|
+
importLibrary("geometry"),
|
|
3384
|
+
importLibrary("drawing")
|
|
3385
|
+
]).then(function() {
|
|
3386
|
+
Y = window.google, t();
|
|
3367
3387
|
}).catch(function(e) {
|
|
3368
3388
|
console.warn(`Failed to initialize Google Map API: ${e.message}`), t();
|
|
3369
3389
|
});
|
|
@@ -3372,8 +3392,8 @@ function requireGoogleMap(e) {
|
|
|
3372
3392
|
}
|
|
3373
3393
|
}
|
|
3374
3394
|
})).catch((e) => {
|
|
3375
|
-
console.warn(`Timed out initializing Google Map API after ${
|
|
3376
|
-
}),
|
|
3395
|
+
console.warn(`Timed out initializing Google Map API after ${Bn}ms.`);
|
|
3396
|
+
}), Vn;
|
|
3377
3397
|
}
|
|
3378
3398
|
function createOverlay(e, t, n) {
|
|
3379
3399
|
function Overlay(e, t, n) {
|
|
@@ -3544,6 +3564,7 @@ var UserShapeSelectionBag = class {
|
|
|
3544
3564
|
_circleMap;
|
|
3545
3565
|
_pinMap;
|
|
3546
3566
|
_drawingManager;
|
|
3567
|
+
_drawingWarningShown;
|
|
3547
3568
|
_prevCenterAddress;
|
|
3548
3569
|
_userShapeSelection;
|
|
3549
3570
|
constructor() {
|
|
@@ -3615,21 +3636,26 @@ var UserShapeSelectionBag = class {
|
|
|
3615
3636
|
editable: !0,
|
|
3616
3637
|
clickable: !0
|
|
3617
3638
|
};
|
|
3618
|
-
this._drawingManager =
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3639
|
+
if (this._drawingManager = null, this._drawingWarningShown = !1, Y?.maps?.drawing?.DrawingManager && Y?.maps?.drawing?.OverlayType) try {
|
|
3640
|
+
this._drawingManager = new Y.maps.drawing.DrawingManager({
|
|
3641
|
+
drawingMode: Y.maps.drawing.OverlayType.MARKER,
|
|
3642
|
+
drawingControl: !0,
|
|
3643
|
+
drawingControlOptions: {
|
|
3644
|
+
position: Y.maps.ControlPosition.TOP_CENTER,
|
|
3645
|
+
drawingModes: [
|
|
3646
|
+
"polygon",
|
|
3647
|
+
"rectangle",
|
|
3648
|
+
"circle"
|
|
3649
|
+
]
|
|
3650
|
+
},
|
|
3651
|
+
rectangleOptions: s,
|
|
3652
|
+
circleOptions: s,
|
|
3653
|
+
polygonOptions: s
|
|
3654
|
+
});
|
|
3655
|
+
} catch (e) {
|
|
3656
|
+
console.warn(`Google DrawingManager unavailable: ${e.message}`);
|
|
3657
|
+
}
|
|
3658
|
+
this.drawingState() && this._userShapes.load(this.drawingState());
|
|
3633
3659
|
}
|
|
3634
3660
|
update(e, t) {
|
|
3635
3661
|
let n = this;
|
|
@@ -3650,9 +3676,9 @@ var UserShapeSelectionBag = class {
|
|
|
3650
3676
|
}), this._googleMapPanorama.setPov({
|
|
3651
3677
|
heading: 0,
|
|
3652
3678
|
pitch: 0
|
|
3653
|
-
}), this._googleMapPanorama.setVisible(!0)) : this._googleMapPanorama.setVisible(!1), this._prevStreetView = this.streetView()), this.drawingTools() ? (this._drawingManager.setMap(this._googleMap), Y.maps.event.addListener(this._drawingManager, "overlaycomplete", function() {
|
|
3679
|
+
}), this._googleMapPanorama.setVisible(!0)) : this._googleMapPanorama.setVisible(!1), this._prevStreetView = this.streetView()), this._drawingManager ? this.drawingTools() ? (this._drawingManager.setMap(this._googleMap), Y.maps.event.addListener(this._drawingManager, "overlaycomplete", function() {
|
|
3654
3680
|
GMap.prototype.onDrawingComplete.apply(n, arguments);
|
|
3655
|
-
})) : (this._drawingManager.setMap(null), Y.maps.event.clearInstanceListeners(this._drawingManager));
|
|
3681
|
+
})) : (this._drawingManager.setMap(null), Y.maps.event.clearInstanceListeners(this._drawingManager)) : this.drawingTools() && !this._drawingWarningShown && (this._drawingWarningShown = !0, console.warn("Google Drawing tools requested, but DrawingManager is unavailable."));
|
|
3656
3682
|
}
|
|
3657
3683
|
render(e) {
|
|
3658
3684
|
let t = this, n = arguments;
|
|
@@ -3772,7 +3798,7 @@ var UserShapeSelectionBag = class {
|
|
|
3772
3798
|
return this.zoomTo(this.data());
|
|
3773
3799
|
}
|
|
3774
3800
|
drawingOptions(e) {
|
|
3775
|
-
return arguments.length ? (this._drawingManager.setOptions(e), this) : this._drawingManager;
|
|
3801
|
+
return arguments.length ? (this._drawingManager && this._drawingManager.setOptions(e), this) : this._drawingManager;
|
|
3776
3802
|
}
|
|
3777
3803
|
userShapeSelection(e) {
|
|
3778
3804
|
return arguments.length ? (this._userShapeSelection && this._userShapeSelection.setEditable(!1), this._userShapeSelection = e, this._userShapeSelection && this._userShapeSelection.setEditable(!0), this) : this._userShapeSelection;
|
|
@@ -3781,7 +3807,7 @@ var UserShapeSelectionBag = class {
|
|
|
3781
3807
|
this._userShapeSelection === e && this.userShapeSelection(null), this._userShapes.remove(e);
|
|
3782
3808
|
}
|
|
3783
3809
|
onDrawingComplete(e) {
|
|
3784
|
-
if (e.type !== Y.maps.drawing.OverlayType.MARKER) {
|
|
3810
|
+
if (!(!this._drawingManager || !Y?.maps?.drawing?.OverlayType) && e.type !== Y.maps.drawing.OverlayType.MARKER) {
|
|
3785
3811
|
this._drawingManager.setDrawingMode(null);
|
|
3786
3812
|
let t = e.overlay;
|
|
3787
3813
|
t.__hpcc_type = e.type, this._userShapes.add(t);
|
|
@@ -3810,7 +3836,7 @@ X.prototype._class += " map_GMap", X.prototype.publish("outdoorStreetViewOnly",
|
|
|
3810
3836
|
}), X.prototype.publish("zoom", 4, "number", "Zoom Level", null, { tags: ["Basic"] }), X.prototype.publish("singleZoomToMaxZoom", 14, "number", "Max zoomTo level with single item"), X.prototype.publish("panControl", !0, "boolean", "Pan Controls", null, { tags: ["Basic"] }), X.prototype.publish("zoomControl", !0, "boolean", "Zoom Controls", null, { tags: ["Basic"] }), X.prototype.publish("scaleControl", !0, "boolean", "Scale Controls", null, { tags: ["Basic"] }), X.prototype.publish("mapTypeControl", !1, "boolean", "Map Type Controls", null, { tags: ["Basic"] }), X.prototype.publish("fullscreenControl", !1, "boolean", "Fullscreen Controls", null, { tags: ["Basic"] }), X.prototype.publish("streetViewControl", !1, "boolean", "StreetView Controls", null, { tags: ["Basic"] }), X.prototype.publish("overviewMapControl", !1, "boolean", "OverviewMap Controls", null, { tags: ["Basic"] }), X.prototype.publish("streetView", !1, "boolean", "Streetview", null, { tags: ["Basic"] }), X.prototype.publish("drawingTools", !1, "boolean", "Drawing Tools", null, { tags: ["Basic"] }), X.prototype.publish("drawingState", "", "string", "Map Drawings", null, { disable: (e) => e.drawingTools() === !1 }), X.prototype.publish("googleMapStyles", {}, "object", "Styling for map colors etc", null, { tags: ["Basic"] });
|
|
3811
3837
|
//#endregion
|
|
3812
3838
|
//#region src/GMapLayered.ts
|
|
3813
|
-
var
|
|
3839
|
+
var Hn = 1 / 16, OverlayLayered = class extends Layered {
|
|
3814
3840
|
gmap;
|
|
3815
3841
|
surface;
|
|
3816
3842
|
constructor(e, t) {
|
|
@@ -3824,7 +3850,7 @@ var Mn = 1 / 16, OverlayLayered = class extends Layered {
|
|
|
3824
3850
|
let n = this.getProjection();
|
|
3825
3851
|
if (n) {
|
|
3826
3852
|
let e = new window.google.maps.LatLng(0, 0), t = n.fromLatLngToDivPixel(e), s = this.surface.widgetX(), c = this.surface.widgetY(), l = [t.x - s, t.y - c], d = this.gmap._googleMap.getZoom();
|
|
3827
|
-
this.zoomTo(l,
|
|
3853
|
+
this.zoomTo(l, Hn * (1 << d), 0);
|
|
3828
3854
|
}
|
|
3829
3855
|
e && e(t);
|
|
3830
3856
|
}), this;
|
|
@@ -4450,7 +4476,7 @@ function tile_default() {
|
|
|
4450
4476
|
__name(tile_default, "default");
|
|
4451
4477
|
//#endregion
|
|
4452
4478
|
//#region src/OpenStreet.ts
|
|
4453
|
-
var
|
|
4479
|
+
var Un = 4096, Wn = class OpenStreet extends Layer {
|
|
4454
4480
|
static _copyrightText = "© OpenStreetMap contributors";
|
|
4455
4481
|
_tile;
|
|
4456
4482
|
_openStreet;
|
|
@@ -4463,13 +4489,13 @@ var Nn = 4096, Pn = class OpenStreet extends Layer {
|
|
|
4463
4489
|
super(), this.autoScaleMode("none");
|
|
4464
4490
|
}
|
|
4465
4491
|
layerEnter(e, t, n) {
|
|
4466
|
-
Layer.prototype.layerEnter.apply(this, arguments), e.zoomExtent([.1,
|
|
4492
|
+
Layer.prototype.layerEnter.apply(this, arguments), e.zoomExtent([.1, Un * 4]), this._openStreet = t.append("g"), this._copyright = t.append("text").attr("x", -100).attr("y", -100).style("opacity", .5).text(OpenStreet._copyrightText), this._copyrightBBox = this._copyright.node().getBBox();
|
|
4467
4493
|
}
|
|
4468
4494
|
layerUpdate(e) {
|
|
4469
4495
|
this._tile = tile_default().size([e.width(), e.height()]).wrap(!1), this.visible() ? this._copyright.attr("x", e.width() - this._copyrightBBox.width - this._copyrightBBox.height / 2).attr("y", e.height() - this._copyrightBBox.height / 2).text(OpenStreet._copyrightText) : this._copyright.text(""), this.layerZoomed(e);
|
|
4470
4496
|
}
|
|
4471
4497
|
layerZoomed(e) {
|
|
4472
|
-
let t = e.zoomScale(), n = e.zoomTranslate(), s = this._tile.scale(t *
|
|
4498
|
+
let t = e.zoomScale(), n = e.zoomTranslate(), s = this._tile.scale(t * Un).translate(n)(), c = s.scale / t, l = [s.translate[0] / s.scale, s.translate[1] / s.scale], d = Math.round(c * 1e3);
|
|
4473
4499
|
this._prevZoomLevel !== d && (this._prevZoomLevel = d, this._zoomLayerID++);
|
|
4474
4500
|
let f = this._openStreet.selectAll(".scaleG").data([this._zoomLayerID], (e) => e), p = f.enter().append("g").attr("class", "scaleG").attr("transform", stringify(c, l)).merge(f);
|
|
4475
4501
|
f.exit().style("opacity", 1).transition().duration(1e3).style("opacity", 0).on("end", function(e) {
|
|
@@ -4485,7 +4511,7 @@ var Nn = 4096, Pn = class OpenStreet extends Layer {
|
|
|
4485
4511
|
}).transition().duration(500).style("opacity", 1);
|
|
4486
4512
|
}
|
|
4487
4513
|
};
|
|
4488
|
-
|
|
4514
|
+
Wn.prototype._class += " map_OpenStreet", Wn.prototype.publish("tileProvider", "OpenStreetMap", "set", "Tile Provider", [
|
|
4489
4515
|
"OpenStreetMap",
|
|
4490
4516
|
"OpenStreetMap Hot",
|
|
4491
4517
|
"MapQuest",
|
|
@@ -11673,7 +11699,7 @@ L.GridLayer.GoogleMutant = L.GridLayer.extend({
|
|
|
11673
11699
|
}), L.gridLayer.googleMutant = function(e) {
|
|
11674
11700
|
return new L.GridLayer.GoogleMutant(e);
|
|
11675
11701
|
};
|
|
11676
|
-
var
|
|
11702
|
+
var Gn = L.GridLayer.GoogleMutant, Kn = {
|
|
11677
11703
|
iconColor: "#1EB300",
|
|
11678
11704
|
iconAnchor: {
|
|
11679
11705
|
marker: [14, 34],
|
|
@@ -11700,22 +11726,22 @@ var Fn = L.GridLayer.GoogleMutant, In = {
|
|
|
11700
11726
|
"rectangle-dot": [2, 2],
|
|
11701
11727
|
doughnut: [15, 15]
|
|
11702
11728
|
}
|
|
11703
|
-
},
|
|
11729
|
+
}, qn = Z.Icon.extend({
|
|
11704
11730
|
options: {
|
|
11705
11731
|
icon: "leaf",
|
|
11706
|
-
iconSize:
|
|
11707
|
-
iconAnchor:
|
|
11732
|
+
iconSize: Kn.iconSize.circle,
|
|
11733
|
+
iconAnchor: Kn.iconAnchor.marker,
|
|
11708
11734
|
iconShape: "marker",
|
|
11709
11735
|
iconStyle: "",
|
|
11710
11736
|
innerIconAnchor: [0, 3],
|
|
11711
11737
|
innerIconStyle: "",
|
|
11712
11738
|
isAlphaNumericIcon: !1,
|
|
11713
11739
|
text: 1,
|
|
11714
|
-
borderColor:
|
|
11740
|
+
borderColor: Kn.iconColor,
|
|
11715
11741
|
borderWidth: 2,
|
|
11716
11742
|
borderStyle: "solid",
|
|
11717
11743
|
backgroundColor: "white",
|
|
11718
|
-
textColor:
|
|
11744
|
+
textColor: Kn.iconColor,
|
|
11719
11745
|
customClasses: "",
|
|
11720
11746
|
spin: !1,
|
|
11721
11747
|
prefix: "fa",
|
|
@@ -11725,7 +11751,7 @@ var Fn = L.GridLayer.GoogleMutant, In = {
|
|
|
11725
11751
|
this.applyDefaults(e), this.options = !e || !e.html ? Z.Util.setOptions(this, e) : e;
|
|
11726
11752
|
},
|
|
11727
11753
|
applyDefaults(e) {
|
|
11728
|
-
e && (!e.iconSize && e.iconShape && (e.iconSize =
|
|
11754
|
+
e && (!e.iconSize && e.iconShape && (e.iconSize = Kn.iconSize[e.iconShape]), !e.iconAnchor && e.iconShape && (e.iconAnchor = Kn.iconAnchor[e.iconShape]), !e.popupAnchor && e.iconShape && (e.popupAnchor = Kn.popupAnchor[e.iconShape]), e.innerIconAnchor || (e.iconShape === "circle" || e.iconShape === "marker") && (e.iconShape === "circle" && e.isAlphaNumericIcon ? e.innerIconAnchor = [0, -1] : e.iconShape === "marker" && !e.isAlphaNumericIcon && (e.innerIconAnchor = Kn.innerIconAnchor[e.iconShape])));
|
|
11729
11755
|
},
|
|
11730
11756
|
createIcon() {
|
|
11731
11757
|
let e = document.createElement("div"), t = this.options;
|
|
@@ -11756,7 +11782,7 @@ var Fn = L.GridLayer.GoogleMutant, In = {
|
|
|
11756
11782
|
}
|
|
11757
11783
|
});
|
|
11758
11784
|
function BeautifyIcon(e) {
|
|
11759
|
-
return new
|
|
11785
|
+
return new qn(e);
|
|
11760
11786
|
}
|
|
11761
11787
|
//#endregion
|
|
11762
11788
|
//#region src/leaflet/plugins/D3SvgOverlay.ts
|
|
@@ -11861,7 +11887,7 @@ var LeafletLayer = class extends Z.Layer {
|
|
|
11861
11887
|
addTo(e) {
|
|
11862
11888
|
return e.addLayer(this), this;
|
|
11863
11889
|
}
|
|
11864
|
-
},
|
|
11890
|
+
}, Jn = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((e, t) => {
|
|
11865
11891
|
t !== void 0 && (t.exports = simpleheat);
|
|
11866
11892
|
function simpleheat(e) {
|
|
11867
11893
|
if (!(this instanceof simpleheat)) return new simpleheat(e);
|
|
@@ -11916,7 +11942,7 @@ var LeafletLayer = class extends Z.Layer {
|
|
|
11916
11942
|
return typeof document < "u" ? document.createElement("canvas") : new this._canvas.constructor();
|
|
11917
11943
|
}
|
|
11918
11944
|
};
|
|
11919
|
-
})))(), 1),
|
|
11945
|
+
})))(), 1), Yn = window.simpleheat || Jn && Jn.default || Jn, LeafletLayer2 = class extends Z.Layer {}, HeatLayer$1 = class extends LeafletLayer2 {
|
|
11920
11946
|
static {
|
|
11921
11947
|
__name(this, "HeatLayer");
|
|
11922
11948
|
}
|
|
@@ -11961,7 +11987,7 @@ var LeafletLayer = class extends Z.Layer {
|
|
|
11961
11987
|
let n = this._map.getSize();
|
|
11962
11988
|
e.width = n.x, e.height = n.y;
|
|
11963
11989
|
let s = this._map.options.zoomAnimation && Z.Browser.any3d;
|
|
11964
|
-
Z.DomUtil.addClass(e, "leaflet-zoom-" + (s ? "animated" : "hide")), this._heat =
|
|
11990
|
+
Z.DomUtil.addClass(e, "leaflet-zoom-" + (s ? "animated" : "hide")), this._heat = Yn(e), this._updateOptions();
|
|
11965
11991
|
}
|
|
11966
11992
|
_updateOptions() {
|
|
11967
11993
|
this._heat.radius(this.options.radius || this._heat.defaultRadius, this.options.blur), this.options.gradient && this._heat.gradient(this.options.gradient), this.options.max && this._heat.max(this.options.max);
|
|
@@ -11990,7 +12016,7 @@ var LeafletLayer = class extends Z.Layer {
|
|
|
11990
12016
|
let t = this._map.getZoomScale(e.zoom), n = this._map._getCenterOffset(e.center)._multiplyBy(-t).subtract(this._map._getMapPanePos());
|
|
11991
12017
|
Z.DomUtil.setTransform ? Z.DomUtil.setTransform(this._canvas, n, t) : this._canvas.style[Z.DomUtil.TRANSFORM] = Z.DomUtil.getTranslateString(n) + " scale(" + t + ")";
|
|
11992
12018
|
}
|
|
11993
|
-
},
|
|
12019
|
+
}, Xn = Z.default.MarkerClusterGroup, TileLayer = class extends g {
|
|
11994
12020
|
_layer = new Z.FeatureGroup();
|
|
11995
12021
|
_crs = Z.CRS.EPSG3857;
|
|
11996
12022
|
constructor(e = !1) {
|
|
@@ -12028,15 +12054,15 @@ var LeafletLayer = class extends Z.Layer {
|
|
|
12028
12054
|
zoomEnd(e) {}
|
|
12029
12055
|
moveEnd(e) {}
|
|
12030
12056
|
viewReset(e) {}
|
|
12031
|
-
},
|
|
12057
|
+
}, Zn = resolve("Albers").scale(.5), Qn = resolve("AlbersUsaPr").scale(.5), $n = Z.Util.extend({}, Z.CRS, {
|
|
12032
12058
|
projection: {
|
|
12033
12059
|
project(e) {
|
|
12034
|
-
let t =
|
|
12035
|
-
return t ||=
|
|
12060
|
+
let t = Qn([e.lng, e.lat]);
|
|
12061
|
+
return t ||= Zn([e.lng, e.lat]), new Z.Point(t[0], t[1]);
|
|
12036
12062
|
},
|
|
12037
12063
|
unproject(e) {
|
|
12038
12064
|
if (!isNaN(e.x) && !isNaN(e.y)) {
|
|
12039
|
-
let t =
|
|
12065
|
+
let t = Zn.invert([e.x, e.y]);
|
|
12040
12066
|
return new Z.LatLng(t[1], t[0]);
|
|
12041
12067
|
} else return new Z.LatLng(0, 0);
|
|
12042
12068
|
}
|
|
@@ -12044,7 +12070,7 @@ var LeafletLayer = class extends Z.Layer {
|
|
|
12044
12070
|
transformation: new Z.Transformation(1, 0, 1, 0),
|
|
12045
12071
|
infinite: !0
|
|
12046
12072
|
}), AlbersLayer = class extends TileLayer {
|
|
12047
|
-
_crs =
|
|
12073
|
+
_crs = $n;
|
|
12048
12074
|
constructor() {
|
|
12049
12075
|
super();
|
|
12050
12076
|
}
|
|
@@ -12080,7 +12106,7 @@ var GMapLayer = class extends TileLayer {
|
|
|
12080
12106
|
return 23;
|
|
12081
12107
|
}
|
|
12082
12108
|
layerEnter(e) {
|
|
12083
|
-
super.layerEnter(e), this.add(new
|
|
12109
|
+
super.layerEnter(e), this.add(new Gn({
|
|
12084
12110
|
type: "roadmap",
|
|
12085
12111
|
styles: this.googleMapStyles()
|
|
12086
12112
|
}));
|
|
@@ -12258,7 +12284,7 @@ var FeatureLayer = class extends Leaflet {
|
|
|
12258
12284
|
_layer;
|
|
12259
12285
|
_selection;
|
|
12260
12286
|
constructor(e = !1) {
|
|
12261
|
-
super(), this._layer = e ? new
|
|
12287
|
+
super(), this._layer = e ? new Xn() : new Z.FeatureGroup(), this._layer.__hpcc_layer = this, h.SimpleSelectionMixin.call(this), this.layers([this]);
|
|
12262
12288
|
}
|
|
12263
12289
|
owner(e) {
|
|
12264
12290
|
this._owner = e;
|
|
@@ -12523,14 +12549,14 @@ var TopoJSON = class extends Z.GeoJSON {
|
|
|
12523
12549
|
World.prototype._class += " map_World", World.prototype._palette = c.rainbow("default"), World.prototype.mixin(h.SimpleSelectionMixin), World.prototype.publish("paletteID", "YlOrRd", "set", "Color palette for this widget", World.prototype._palette.switch(), { tags: ["Basic", "Shared"] }), World.prototype.publish("useClonedPalette", !1, "boolean", "Enable or disable using a cloned palette", null, { tags: ["Intermediate", "Shared"] }), World.prototype.publish("opacity", .5, "number", "Opacity", null, { tags: ["Advanced"] }), World.prototype.publish("meshVisible", !0, "boolean", "Mesh Visibility"), World.prototype.publish("meshColor", "black", "html-color", "Stroke Color"), World.prototype.publish("meshStrokeWidth", .25, "number", "Stroke Width"), World.prototype.publish("internalOnly", !1, "boolean", "Internal mesh only");
|
|
12524
12550
|
//#endregion
|
|
12525
12551
|
//#region src/leaflet/Countries.ts
|
|
12526
|
-
var
|
|
12552
|
+
var er = null, Countries = class extends World {
|
|
12527
12553
|
constructor() {
|
|
12528
12554
|
super();
|
|
12529
12555
|
}
|
|
12530
12556
|
init() {
|
|
12531
12557
|
return this._initPromise ||= new Promise((e, t) => {
|
|
12532
|
-
|
|
12533
|
-
|
|
12558
|
+
er && e(er), yn(`${topoJsonFolder()}/countries.json`, function(t) {
|
|
12559
|
+
er = t, e(er);
|
|
12534
12560
|
});
|
|
12535
12561
|
}).then((e) => {
|
|
12536
12562
|
this._features = feature_default(e.topology, e.topology.objects.countries).features;
|
|
@@ -12791,7 +12817,7 @@ Polygons.prototype._class += " map_Polygons", Polygons.prototype._palette = c.ra
|
|
|
12791
12817
|
}, { optional: !0 }), Polygons.prototype.publish("opacity", .5, "number", "Opacity", null, { tags: ["Advanced"] });
|
|
12792
12818
|
//#endregion
|
|
12793
12819
|
//#region src/leaflet/Path.ts
|
|
12794
|
-
var
|
|
12820
|
+
var tr = 4096 / 2 / Math.PI, Path = class extends D3SurfaceLayer {
|
|
12795
12821
|
lineData() {
|
|
12796
12822
|
let e = this.columns(), t = e.indexOf(this.latitudeColumn()), n = e.indexOf(this.longitudeColumn()), s = [], c;
|
|
12797
12823
|
return this.data().forEach((e) => {
|
|
@@ -12815,7 +12841,7 @@ var Gn = 4096 / 2 / Math.PI, Path = class extends D3SurfaceLayer {
|
|
|
12815
12841
|
let s = t.latLngToLayerPoint({
|
|
12816
12842
|
lat: 0,
|
|
12817
12843
|
lng: 0
|
|
12818
|
-
}), c = resolve("Mercator").scale(
|
|
12844
|
+
}), c = resolve("Mercator").scale(tr).translate([s.x, s.y]), l = path_default().projection(c), d = n.selectAll(".dataEdge").data(this.lineData().filter((e) => !this.isNull2(e.coordinates)));
|
|
12819
12845
|
d.enter().append("path").attr("class", "dataEdge").attr("marker-end", "url(#" + this._id + "_arrowHead)").merge(d).attr("d", l).style("stroke", this.strokeColor()).style("fill", "none").attr("stroke-width", 1 / t.scale), d.exit().remove();
|
|
12820
12846
|
}
|
|
12821
12847
|
clickHandler(e, t) {}
|
|
@@ -12889,7 +12915,7 @@ var ClusterPins = class extends Pins$1 {
|
|
|
12889
12915
|
ClusterPins.prototype._class += " map_ClusterPins";
|
|
12890
12916
|
//#endregion
|
|
12891
12917
|
//#region src/leaflet/Region.ts
|
|
12892
|
-
var
|
|
12918
|
+
var nr = {
|
|
12893
12919
|
GB: [
|
|
12894
12920
|
"administrative_area_level_3",
|
|
12895
12921
|
"administrative_area_level_2",
|
|
@@ -12897,13 +12923,13 @@ var Kn = {
|
|
|
12897
12923
|
],
|
|
12898
12924
|
IE: ["administrative_area_level_2", "administrative_area_level_1"],
|
|
12899
12925
|
ND: ["administrative_area_level_2", "administrative_area_level_1"]
|
|
12900
|
-
},
|
|
12926
|
+
}, rr = {};
|
|
12901
12927
|
function cachedRegion(e) {
|
|
12902
|
-
return
|
|
12928
|
+
return rr[e] || (rr[e] = {
|
|
12903
12929
|
topology: void 0,
|
|
12904
12930
|
nameIdx: {},
|
|
12905
12931
|
codeIdx: {}
|
|
12906
|
-
}),
|
|
12932
|
+
}), rr[e];
|
|
12907
12933
|
}
|
|
12908
12934
|
var Region = class extends World {
|
|
12909
12935
|
constructor() {
|
|
@@ -12921,7 +12947,7 @@ var Region = class extends World {
|
|
|
12921
12947
|
return new Promise((t, n) => {
|
|
12922
12948
|
yn(`${topoJsonFolder()}/${e}_idx.json`, function(n) {
|
|
12923
12949
|
let { nameIdx: s, codeIdx: c } = cachedRegion(e);
|
|
12924
|
-
|
|
12950
|
+
nr[e]?.forEach((e) => {
|
|
12925
12951
|
for (let t in n[e]) {
|
|
12926
12952
|
let l = n[e][t];
|
|
12927
12953
|
Array.isArray(l) && (s[t] || (s[t] = {
|
|
@@ -13028,51 +13054,51 @@ var US = class extends World {
|
|
|
13028
13054
|
let e = super.getBounds();
|
|
13029
13055
|
return new Z.LatLngBounds([e.getNorth(), e.getWest()], [17.755278, -64.565]);
|
|
13030
13056
|
}
|
|
13031
|
-
},
|
|
13057
|
+
}, ir = null, ar = {}, USCounties = class extends US {
|
|
13032
13058
|
init() {
|
|
13033
13059
|
return this._initPromise ||= new Promise((e, t) => {
|
|
13034
|
-
|
|
13035
|
-
|
|
13060
|
+
ir && e(ir), yn(`${topoJsonFolder()}/us-counties.json`, function(t) {
|
|
13061
|
+
ir = t, e(ir);
|
|
13036
13062
|
});
|
|
13037
13063
|
}).then((e) => {
|
|
13038
13064
|
this._features = feature_default(e.topology, e.topology.objects.counties).features;
|
|
13039
13065
|
for (let t in this._features) if (this._features[t].id) {
|
|
13040
13066
|
let n = this._features[t].id, s = e.countyNames[n];
|
|
13041
|
-
this._features[t].properties.hpccID = n,
|
|
13067
|
+
this._features[t].properties.hpccID = n, ar[n] = s;
|
|
13042
13068
|
}
|
|
13043
13069
|
}), this._initPromise;
|
|
13044
13070
|
}
|
|
13045
13071
|
tooltipHandler(e, t) {
|
|
13046
13072
|
let n = this._dataMap[t], s = n && n[1] || "";
|
|
13047
|
-
return this.tooltipText(this.rowToObj(n), `<b>${
|
|
13073
|
+
return this.tooltipText(this.rowToObj(n), `<b>${ar[t]}</b>: ${s}`);
|
|
13048
13074
|
}
|
|
13049
13075
|
};
|
|
13050
13076
|
USCounties.prototype._class += " map_USCounties";
|
|
13051
13077
|
//#endregion
|
|
13052
13078
|
//#region src/leaflet/USStates.ts
|
|
13053
|
-
var
|
|
13079
|
+
var or = null, sr = {}, USStates = class extends US {
|
|
13054
13080
|
init() {
|
|
13055
13081
|
return this._initPromise ||= new Promise((e, t) => {
|
|
13056
|
-
|
|
13057
|
-
|
|
13082
|
+
or && e(or), yn(`${topoJsonFolder()}/us-states.json`, function(t) {
|
|
13083
|
+
or = t, e(or);
|
|
13058
13084
|
});
|
|
13059
13085
|
}).then((e) => {
|
|
13060
13086
|
this._features = feature_default(e.topology, e.topology.objects.states).features;
|
|
13061
13087
|
for (let t in this._features) if (this._features[t].id) {
|
|
13062
13088
|
let { code: n, name: s } = e.stateNames[this._features[t].id];
|
|
13063
|
-
this._features[t].properties.hpccID = n,
|
|
13089
|
+
this._features[t].properties.hpccID = n, sr[n] = s;
|
|
13064
13090
|
}
|
|
13065
13091
|
}), this._initPromise;
|
|
13066
13092
|
}
|
|
13067
13093
|
tooltipHandler(e, t) {
|
|
13068
13094
|
let n = this._dataMap[t], s = n && n[1] || "";
|
|
13069
|
-
return this.tooltipText(this.rowToObj(n), `<b>${
|
|
13095
|
+
return this.tooltipText(this.rowToObj(n), `<b>${sr[t]}</b>: ${s}`);
|
|
13070
13096
|
}
|
|
13071
13097
|
};
|
|
13072
13098
|
USStates.prototype._class += " map_USStates";
|
|
13073
13099
|
//#endregion
|
|
13074
13100
|
//#region src/leaflet/index.ts
|
|
13075
|
-
var
|
|
13101
|
+
var cr = /* @__PURE__ */ __exportAll({
|
|
13076
13102
|
Circles: () => Circles,
|
|
13077
13103
|
ClusterCircles: () => ClusterCircles,
|
|
13078
13104
|
ClusterIcons: () => ClusterIcons,
|
|
@@ -13099,7 +13125,7 @@ var Qn = /* @__PURE__ */ __exportAll({
|
|
|
13099
13125
|
World: () => World
|
|
13100
13126
|
});
|
|
13101
13127
|
//#endregion
|
|
13102
|
-
export { ue as BUILD_VERSION, CanvasPinLayer, CanvasPins, Choropleth, ChoroplethContinents, ChoroplethCounties, ChoroplethCountries, ChoroplethStates, ChoroplethStatesHeat, X as GMap, GMapCounties, GMapGraph, GMapHeat, GMapLayered, GMapPin, GMapPinLine, GeoHash, Graph, Graticule, Heat, IChoropleth, Layer, Layered,
|
|
13128
|
+
export { ue as BUILD_VERSION, CanvasPinLayer, CanvasPins, Choropleth, ChoroplethContinents, ChoroplethCounties, ChoroplethCountries, ChoroplethStates, ChoroplethStatesHeat, X as GMap, GMapCounties, GMapGraph, GMapHeat, GMapLayered, GMapPin, GMapPinLine, GeoHash, Graph, Graticule, Heat, IChoropleth, Layer, Layered, cr as Leaflet, Lines, Wn as OpenStreet, ce as PKG_NAME, le as PKG_VERSION, Pins, TopoJSONChoropleth, Y as google, hn as projections, requireGoogleMap, requireGoogleMapTimeout, resolve, topoJsonFolder, mn as types };
|
|
13103
13129
|
|
|
13104
13130
|
//# sourceMappingURL=index.js.map
|
|
13105
13131
|
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.map_Layered .background{fill:none}.map_Layered .raster image{fill:#b5d0d0}.map_Layered .hash path{fill:none;stroke:red;stroke-linejoin:round}.map_Layered .checkerFill{fill:red;stroke:red;opacity:.5}.map_Layered .checkerNoFill{fill:none;stroke:none;opacity:.5}.map_Layered .mesh{fill:none;stroke:#6d6e71;stroke-width:.25px}.map_Layered .data{stroke:none;stroke-width:.25px}.map_Layered .data .shape.selected{stroke:red;stroke-width:1.25px}.map_Layered .map_GeoHash .data{stroke:none}.map_Layered .map_GeoHash .data.selected{stroke:red}.map_Layered .map_GeoHash .data.over{stroke:orange}.map_Layered .map_GeoHash .data.selected.over{stroke:red}.map_GMap .marker{fill:#656565;stroke:none;stroke-width:1px}.map_GMap .map_Layered{pointer-events:auto;cursor:auto}.gm-style img{max-width:none}.gm-style label{width:auto;display:inline}.map_Layered .pin>path{cursor:pointer;stroke:#000}.map_Layered .pin.selected>path{stroke-width:1px;stroke:red}.map_Layered .pin.over>path{stroke:orange}.map_Layered .pin.selected.over>path{stroke-width:1px;stroke:red}.map_Layered .marker{fill:#656565;stroke:none}.map_Layered .marker{fill:#656565;stroke:none;stroke-width:1px}.map_Layered .dataEdge{stroke:#000;fill:none}.map_Layered .graticule{fill:none;stroke:#a9a9a9;stroke-linejoin:round;stroke-width:.25px}.map_Layered .graticuleOutline{fill:none;stroke:#000;stroke-linejoin:round;stroke-width:.25px}.map_Heat canvas{pointer-events:none}.map_OpenStreet .background{fill:#fff}.map_OpenStreet .graticule{fill:none;stroke:#777;stroke-width:.5px;stroke-opacity:.5}.map_Layered .vector{fill:none;stroke:navy;stroke-linejoin:round}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;top:0;left:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:0 0}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{-webkit-transform-origin:0 0;width:1600px;height:1600px}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{width:auto;padding:0;max-width:none!important;max-height:none!important}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:#33b5e566}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{box-sizing:border-box;z-index:800;width:0;height:0}.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{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{z-index:800;pointer-events:visiblePainted;pointer-events:auto;position:relative}.leaflet-top,.leaflet-bottom{z-index:1000;pointer-events:none;position:absolute}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.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-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{outline-offset:1px;background:#ddd}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{background:#ffffff80;border:2px dotted #38f}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:.75rem;line-height:1.5}.leaflet-bar{border-radius:4px;box-shadow:0 1px 5px #000000a6}.leaflet-bar a{text-align:center;color:#000;background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;text-decoration:none;display:block}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{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-right-radius:4px;border-bottom-left-radius:4px}.leaflet-bar a.leaflet-disabled{cursor:default;color:#bbb;background-color:#f4f4f4}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height: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-right-radius:2px;border-bottom-left-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{text-indent:1px;font:700 18px Lucida Console,Monaco,monospace}.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 #0006}.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);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{color:#333;background:#fff;padding:6px 10px 6px 6px}.leaflet-control-layers-scrollbar{padding-right:5px;overflow:hidden scroll}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{font-size:1.08333em;display:block}.leaflet-control-layers-separator{border-top:1px solid #ddd;height:0;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{color:#333;padding:0 5px;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{width:1em;height:.6669em;vertical-align:baseline!important;display:inline!important}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{white-space:nowrap;box-sizing:border-box;text-shadow:1px 1px #fff;background:#fffc;border:2px solid #777;border-top:none;padding:2px 5px 1px;line-height:1.1}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{background-clip:padding-box;border:2px solid #0003}.leaflet-popup{text-align:center;margin-bottom:20px;position:absolute}.leaflet-popup-content-wrapper{text-align:left;border-radius:12px;padding:1px}.leaflet-popup-content{min-height:1px;margin:13px 24px 13px 20px;font-size:1.08333em;line-height:1.3}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{pointer-events:none;width:40px;height:20px;margin-top:-1px;margin-left:-20px;position:absolute;left:50%;overflow:hidden}.leaflet-popup-tip{pointer-events:auto;width:17px;height:17px;margin:-10px auto 0;padding:1px;transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{color:#333;background:#fff;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{text-align:center;color:#757575;background:0 0;border:none;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;text-decoration:none;position:absolute;top:0;right:0}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{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)";width:24px;filter:progid:DXImageTransform.Microsoft.Matrix(M11=.707107, M12=.707107, M21=-.707107, M22=.707107);margin:0 auto}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.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{color:#222;white-space:nowrap;-webkit-user-select:none;user-select:none;pointer-events:none;background-color:#fff;border:1px solid #fff;border-radius:3px;padding:6px;position:absolute;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{pointer-events:none;content:"";background:0 0;border:6px solid #0000;position:absolute}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{margin-left:-6px;left:50%}.leaflet-tooltip-top:before{border-top-color:#fff;margin-bottom:-12px;bottom:0}.leaflet-tooltip-bottom:before{border-bottom-color:#fff;margin-top:-12px;margin-left:-6px;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;margin-left:-12px;left:0}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.leaflet-draw-section{position:relative}.leaflet-draw-toolbar{margin-top:12px}.leaflet-draw-toolbar-top{margin-top:0}.leaflet-draw-toolbar-notop a:first-child{border-top-right-radius:0}.leaflet-draw-toolbar-nobottom a:last-child{border-bottom-right-radius:0}.leaflet-draw-toolbar a{background-image:linear-gradient(#0000,#0000),url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3csvg%20xmlns:dc='http://purl.org/dc/elements/1.1/'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20viewBox='0%200%20600%2060'%20height='60'%20width='600'%20id='svg4225'%20version='1.1'%20inkscape:version='0.91%20r13725'%20sodipodi:docname='spritesheet.svg'%20inkscape:export-filename='/home/fpuga/development/upstream/icarto.Leaflet.draw/src/images/spritesheet-2x.png'%20inkscape:export-xdpi='90'%20inkscape:export-ydpi='90'%3e%3cmetadata%20id='metadata4258'%3e%3crdf:RDF%3e%3ccc:Work%20rdf:about=''%3e%3cdc:format%3eimage/svg+xml%3c/dc:format%3e%3cdc:type%20rdf:resource='http://purl.org/dc/dcmitype/StillImage'%20/%3e%3cdc:title%20/%3e%3c/cc:Work%3e%3c/rdf:RDF%3e%3c/metadata%3e%3cdefs%20id='defs4256'%20/%3e%3csodipodi:namedview%20pagecolor='%23ffffff'%20bordercolor='%23666666'%20borderopacity='1'%20objecttolerance='10'%20gridtolerance='10'%20guidetolerance='10'%20inkscape:pageopacity='0'%20inkscape:pageshadow='2'%20inkscape:window-width='1920'%20inkscape:window-height='1056'%20id='namedview4254'%20showgrid='false'%20inkscape:zoom='1.3101852'%20inkscape:cx='237.56928'%20inkscape:cy='7.2419621'%20inkscape:window-x='1920'%20inkscape:window-y='24'%20inkscape:window-maximized='1'%20inkscape:current-layer='svg4225'%20/%3e%3cg%20id='enabled'%20style='fill:%23464646;fill-opacity:1'%3e%3cg%20id='polyline'%20style='fill:%23464646;fill-opacity:1'%3e%3cpath%20d='m%2018,36%200,6%206,0%200,-6%20-6,0%20z%20m%204,4%20-2,0%200,-2%202,0%200,2%20z'%20id='path4229'%20inkscape:connector-curvature='0'%20style='fill:%23464646;fill-opacity:1'%20/%3e%3cpath%20d='m%2036,18%200,6%206,0%200,-6%20-6,0%20z%20m%204,4%20-2,0%200,-2%202,0%200,2%20z'%20id='path4231'%20inkscape:connector-curvature='0'%20style='fill:%23464646;fill-opacity:1'%20/%3e%3cpath%20d='m%2023.142,39.145%20-2.285,-2.29%2016,-15.998%202.285,2.285%20z'%20id='path4233'%20inkscape:connector-curvature='0'%20style='fill:%23464646;fill-opacity:1'%20/%3e%3c/g%3e%3cpath%20id='polygon'%20d='M%20100,24.565%2097.904,39.395%2083.07,42%2076,28.773%2086.463,18%20Z'%20inkscape:connector-curvature='0'%20style='fill:%23464646;fill-opacity:1'%20/%3e%3cpath%20id='rectangle'%20d='m%20140,20%2020,0%200,20%20-20,0%20z'%20inkscape:connector-curvature='0'%20style='fill:%23464646;fill-opacity:1'%20/%3e%3cpath%20id='circle'%20d='m%20221,30%20c%200,6.078%20-4.926,11%20-11,11%20-6.074,0%20-11,-4.922%20-11,-11%200,-6.074%204.926,-11%2011,-11%206.074,0%2011,4.926%2011,11%20z'%20inkscape:connector-curvature='0'%20style='fill:%23464646;fill-opacity:1'%20/%3e%3cpath%20id='marker'%20d='m%20270,19%20c%20-4.971,0%20-9,4.029%20-9,9%200,4.971%205.001,12%209,14%204.001,-2%209,-9.029%209,-14%200,-4.971%20-4.029,-9%20-9,-9%20z%20m%200,12.5%20c%20-2.484,0%20-4.5,-2.014%20-4.5,-4.5%200,-2.484%202.016,-4.5%204.5,-4.5%202.485,0%204.5,2.016%204.5,4.5%200,2.486%20-2.015,4.5%20-4.5,4.5%20z'%20inkscape:connector-curvature='0'%20style='fill:%23464646;fill-opacity:1'%20/%3e%3cg%20id='edit'%20style='fill:%23464646;fill-opacity:1'%3e%3cpath%20d='m%20337,30.156%200,0.407%200,5.604%20c%200,1.658%20-1.344,3%20-3,3%20l%20-10,0%20c%20-1.655,0%20-3,-1.342%20-3,-3%20l%200,-10%20c%200,-1.657%201.345,-3%203,-3%20l%206.345,0%203.19,-3.17%20-9.535,0%20c%20-3.313,0%20-6,2.687%20-6,6%20l%200,10%20c%200,3.313%202.687,6%206,6%20l%2010,0%20c%203.314,0%206,-2.687%206,-6%20l%200,-8.809%20-3,2.968'%20id='path4240'%20inkscape:connector-curvature='0'%20style='fill:%23464646;fill-opacity:1'%20/%3e%3cpath%20d='m%20338.72,24.637%20-8.892,8.892%20-2.828,0%200,-2.829%208.89,-8.89%20z'%20id='path4242'%20inkscape:connector-curvature='0'%20style='fill:%23464646;fill-opacity:1'%20/%3e%3cpath%20d='m%20338.697,17.826%204,0%200,4%20-4,0%20z'%20transform='matrix(-0.70698336,-0.70723018,0.70723018,-0.70698336,567.55917,274.78273)'%20id='path4244'%20inkscape:connector-curvature='0'%20style='fill:%23464646;fill-opacity:1'%20/%3e%3c/g%3e%3cg%20id='remove'%20style='fill:%23464646;fill-opacity:1'%3e%3cpath%20d='m%20381,42%2018,0%200,-18%20-18,0%200,18%20z%20m%2014,-16%202,0%200,14%20-2,0%200,-14%20z%20m%20-4,0%202,0%200,14%20-2,0%200,-14%20z%20m%20-4,0%202,0%200,14%20-2,0%200,-14%20z%20m%20-4,0%202,0%200,14%20-2,0%200,-14%20z'%20id='path4247'%20inkscape:connector-curvature='0'%20style='fill:%23464646;fill-opacity:1'%20/%3e%3cpath%20d='m%20395,20%200,-4%20-10,0%200,4%20-6,0%200,2%2022,0%200,-2%20-6,0%20z%20m%20-2,0%20-6,0%200,-2%206,0%200,2%20z'%20id='path4249'%20inkscape:connector-curvature='0'%20style='fill:%23464646;fill-opacity:1'%20/%3e%3c/g%3e%3c/g%3e%3cg%20id='disabled'%20transform='translate(120,0)'%20style='fill:%23bbbbbb'%3e%3cuse%20xlink:href='%23edit'%20id='edit-disabled'%20x='0'%20y='0'%20width='100%25'%20height='100%25'%20/%3e%3cuse%20xlink:href='%23remove'%20id='remove-disabled'%20x='0'%20y='0'%20width='100%25'%20height='100%25'%20/%3e%3c/g%3e%3cpath%20style='fill:none;stroke:%23464646;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='circle-3'%20d='m%20581.65725,30%20c%200,6.078%20-4.926,11%20-11,11%20-6.074,0%20-11,-4.922%20-11,-11%200,-6.074%204.926,-11%2011,-11%206.074,0%2011,4.926%2011,11%20z'%20inkscape:connector-curvature='0'%20/%3e%3c/svg%3e");background-repeat:no-repeat;background-size:300px 30px;background-clip:padding-box}.leaflet-retina .leaflet-draw-toolbar a{background-image:linear-gradient(#0000,#0000),url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3csvg%20xmlns:dc='http://purl.org/dc/elements/1.1/'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20viewBox='0%200%20600%2060'%20height='60'%20width='600'%20id='svg4225'%20version='1.1'%20inkscape:version='0.91%20r13725'%20sodipodi:docname='spritesheet.svg'%20inkscape:export-filename='/home/fpuga/development/upstream/icarto.Leaflet.draw/src/images/spritesheet-2x.png'%20inkscape:export-xdpi='90'%20inkscape:export-ydpi='90'%3e%3cmetadata%20id='metadata4258'%3e%3crdf:RDF%3e%3ccc:Work%20rdf:about=''%3e%3cdc:format%3eimage/svg+xml%3c/dc:format%3e%3cdc:type%20rdf:resource='http://purl.org/dc/dcmitype/StillImage'%20/%3e%3cdc:title%20/%3e%3c/cc:Work%3e%3c/rdf:RDF%3e%3c/metadata%3e%3cdefs%20id='defs4256'%20/%3e%3csodipodi:namedview%20pagecolor='%23ffffff'%20bordercolor='%23666666'%20borderopacity='1'%20objecttolerance='10'%20gridtolerance='10'%20guidetolerance='10'%20inkscape:pageopacity='0'%20inkscape:pageshadow='2'%20inkscape:window-width='1920'%20inkscape:window-height='1056'%20id='namedview4254'%20showgrid='false'%20inkscape:zoom='1.3101852'%20inkscape:cx='237.56928'%20inkscape:cy='7.2419621'%20inkscape:window-x='1920'%20inkscape:window-y='24'%20inkscape:window-maximized='1'%20inkscape:current-layer='svg4225'%20/%3e%3cg%20id='enabled'%20style='fill:%23464646;fill-opacity:1'%3e%3cg%20id='polyline'%20style='fill:%23464646;fill-opacity:1'%3e%3cpath%20d='m%2018,36%200,6%206,0%200,-6%20-6,0%20z%20m%204,4%20-2,0%200,-2%202,0%200,2%20z'%20id='path4229'%20inkscape:connector-curvature='0'%20style='fill:%23464646;fill-opacity:1'%20/%3e%3cpath%20d='m%2036,18%200,6%206,0%200,-6%20-6,0%20z%20m%204,4%20-2,0%200,-2%202,0%200,2%20z'%20id='path4231'%20inkscape:connector-curvature='0'%20style='fill:%23464646;fill-opacity:1'%20/%3e%3cpath%20d='m%2023.142,39.145%20-2.285,-2.29%2016,-15.998%202.285,2.285%20z'%20id='path4233'%20inkscape:connector-curvature='0'%20style='fill:%23464646;fill-opacity:1'%20/%3e%3c/g%3e%3cpath%20id='polygon'%20d='M%20100,24.565%2097.904,39.395%2083.07,42%2076,28.773%2086.463,18%20Z'%20inkscape:connector-curvature='0'%20style='fill:%23464646;fill-opacity:1'%20/%3e%3cpath%20id='rectangle'%20d='m%20140,20%2020,0%200,20%20-20,0%20z'%20inkscape:connector-curvature='0'%20style='fill:%23464646;fill-opacity:1'%20/%3e%3cpath%20id='circle'%20d='m%20221,30%20c%200,6.078%20-4.926,11%20-11,11%20-6.074,0%20-11,-4.922%20-11,-11%200,-6.074%204.926,-11%2011,-11%206.074,0%2011,4.926%2011,11%20z'%20inkscape:connector-curvature='0'%20style='fill:%23464646;fill-opacity:1'%20/%3e%3cpath%20id='marker'%20d='m%20270,19%20c%20-4.971,0%20-9,4.029%20-9,9%200,4.971%205.001,12%209,14%204.001,-2%209,-9.029%209,-14%200,-4.971%20-4.029,-9%20-9,-9%20z%20m%200,12.5%20c%20-2.484,0%20-4.5,-2.014%20-4.5,-4.5%200,-2.484%202.016,-4.5%204.5,-4.5%202.485,0%204.5,2.016%204.5,4.5%200,2.486%20-2.015,4.5%20-4.5,4.5%20z'%20inkscape:connector-curvature='0'%20style='fill:%23464646;fill-opacity:1'%20/%3e%3cg%20id='edit'%20style='fill:%23464646;fill-opacity:1'%3e%3cpath%20d='m%20337,30.156%200,0.407%200,5.604%20c%200,1.658%20-1.344,3%20-3,3%20l%20-10,0%20c%20-1.655,0%20-3,-1.342%20-3,-3%20l%200,-10%20c%200,-1.657%201.345,-3%203,-3%20l%206.345,0%203.19,-3.17%20-9.535,0%20c%20-3.313,0%20-6,2.687%20-6,6%20l%200,10%20c%200,3.313%202.687,6%206,6%20l%2010,0%20c%203.314,0%206,-2.687%206,-6%20l%200,-8.809%20-3,2.968'%20id='path4240'%20inkscape:connector-curvature='0'%20style='fill:%23464646;fill-opacity:1'%20/%3e%3cpath%20d='m%20338.72,24.637%20-8.892,8.892%20-2.828,0%200,-2.829%208.89,-8.89%20z'%20id='path4242'%20inkscape:connector-curvature='0'%20style='fill:%23464646;fill-opacity:1'%20/%3e%3cpath%20d='m%20338.697,17.826%204,0%200,4%20-4,0%20z'%20transform='matrix(-0.70698336,-0.70723018,0.70723018,-0.70698336,567.55917,274.78273)'%20id='path4244'%20inkscape:connector-curvature='0'%20style='fill:%23464646;fill-opacity:1'%20/%3e%3c/g%3e%3cg%20id='remove'%20style='fill:%23464646;fill-opacity:1'%3e%3cpath%20d='m%20381,42%2018,0%200,-18%20-18,0%200,18%20z%20m%2014,-16%202,0%200,14%20-2,0%200,-14%20z%20m%20-4,0%202,0%200,14%20-2,0%200,-14%20z%20m%20-4,0%202,0%200,14%20-2,0%200,-14%20z%20m%20-4,0%202,0%200,14%20-2,0%200,-14%20z'%20id='path4247'%20inkscape:connector-curvature='0'%20style='fill:%23464646;fill-opacity:1'%20/%3e%3cpath%20d='m%20395,20%200,-4%20-10,0%200,4%20-6,0%200,2%2022,0%200,-2%20-6,0%20z%20m%20-2,0%20-6,0%200,-2%206,0%200,2%20z'%20id='path4249'%20inkscape:connector-curvature='0'%20style='fill:%23464646;fill-opacity:1'%20/%3e%3c/g%3e%3c/g%3e%3cg%20id='disabled'%20transform='translate(120,0)'%20style='fill:%23bbbbbb'%3e%3cuse%20xlink:href='%23edit'%20id='edit-disabled'%20x='0'%20y='0'%20width='100%25'%20height='100%25'%20/%3e%3cuse%20xlink:href='%23remove'%20id='remove-disabled'%20x='0'%20y='0'%20width='100%25'%20height='100%25'%20/%3e%3c/g%3e%3cpath%20style='fill:none;stroke:%23464646;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='circle-3'%20d='m%20581.65725,30%20c%200,6.078%20-4.926,11%20-11,11%20-6.074,0%20-11,-4.922%20-11,-11%200,-6.074%204.926,-11%2011,-11%206.074,0%2011,4.926%2011,11%20z'%20inkscape:connector-curvature='0'%20/%3e%3c/svg%3e")}.leaflet-draw a{text-align:center;text-decoration:none;display:block}.leaflet-draw a .sr-only{clip:rect(0,0,0,0);border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.leaflet-draw-actions{white-space:nowrap;margin:0;padding:0;list-style:none;display:none;position:absolute;top:0;left:26px}.leaflet-touch .leaflet-draw-actions{left:32px}.leaflet-right .leaflet-draw-actions{left:auto;right:26px}.leaflet-touch .leaflet-right .leaflet-draw-actions{left:auto;right:32px}.leaflet-draw-actions li{display:inline-block}.leaflet-draw-actions li:first-child a{border-left:0}.leaflet-draw-actions li:last-child a{border-radius:0 4px 4px 0}.leaflet-right .leaflet-draw-actions li:last-child a{border-radius:0}.leaflet-right .leaflet-draw-actions li:first-child a{border-radius:4px 0 0 4px}.leaflet-draw-actions a{color:#fff;background-color:#919187;border-left:1px solid #aaa;height:28px;padding-left:10px;padding-right:10px;font:11px/28px Helvetica Neue,Arial,Helvetica,sans-serif;text-decoration:none}.leaflet-touch .leaflet-draw-actions a{height:30px;font-size:12px;line-height:30px}.leaflet-draw-actions-bottom{margin-top:0}.leaflet-draw-actions-top{margin-top:1px}.leaflet-draw-actions-top a,.leaflet-draw-actions-bottom a{height:27px;line-height:27px}.leaflet-draw-actions a:hover{background-color:#a0a098}.leaflet-draw-actions-top.leaflet-draw-actions-bottom a{height:26px;line-height:26px}.leaflet-draw-toolbar .leaflet-draw-draw-polyline{background-position:-2px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-polyline{background-position:0 -1px}.leaflet-draw-toolbar .leaflet-draw-draw-polygon{background-position:-31px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-polygon{background-position:-29px -1px}.leaflet-draw-toolbar .leaflet-draw-draw-rectangle{background-position:-62px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-rectangle{background-position:-60px -1px}.leaflet-draw-toolbar .leaflet-draw-draw-circle{background-position:-92px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-circle{background-position:-90px -1px}.leaflet-draw-toolbar .leaflet-draw-draw-marker{background-position:-122px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-marker{background-position:-120px -1px}.leaflet-draw-toolbar .leaflet-draw-draw-circlemarker{background-position:-273px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-circlemarker{background-position:-271px -1px}.leaflet-draw-toolbar .leaflet-draw-edit-edit{background-position:-152px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-edit{background-position:-150px -1px}.leaflet-draw-toolbar .leaflet-draw-edit-remove{background-position:-182px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-remove{background-position:-180px -1px}.leaflet-draw-toolbar .leaflet-draw-edit-edit.leaflet-disabled{background-position:-212px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-edit.leaflet-disabled{background-position:-210px -1px}.leaflet-draw-toolbar .leaflet-draw-edit-remove.leaflet-disabled{background-position:-242px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-remove.leaflet-disabled{background-position:-240px -2px}.leaflet-mouse-marker{cursor:crosshair;background-color:#fff}.leaflet-draw-tooltip{color:#fff;visibility:hidden;white-space:nowrap;z-index:6;background:#00000080;border:1px solid #0000;border-radius:4px;margin-top:-21px;margin-left:20px;padding:4px 8px;font:12px/18px Helvetica Neue,Arial,Helvetica,sans-serif;position:absolute}.leaflet-draw-tooltip:before{content:"";border-top:6px solid #0000;border-bottom:6px solid #0000;border-right:6px solid #00000080;position:absolute;top:7px;left:-7px}.leaflet-error-draw-tooltip{color:#b94a48;background-color:#f2dede;border:1px solid #e6b6bd}.leaflet-error-draw-tooltip:before{border-right-color:#e6b6bd}.leaflet-draw-tooltip-single{margin-top:-12px}.leaflet-draw-tooltip-subtext{color:#f8d5e4}.leaflet-draw-guide-dash{opacity:.6;width:5px;height:5px;font-size:1%;position:absolute}.leaflet-edit-marker-selected{box-sizing:content-box;background-color:#fe57a11a;border:4px dashed #fe57a199;border-radius:4px}.leaflet-edit-move{cursor:move}.leaflet-edit-resize{cursor:pointer}.leaflet-oldie .leaflet-draw-toolbar{border:1px solid #999}.leaflet-cluster-anim .leaflet-marker-icon,.leaflet-cluster-anim .leaflet-marker-shadow{-webkit-transition:-webkit-transform .3s ease-out,opacity .3s ease-in;-o-transition:-o-transform .3s ease-out, opacity .3s ease-in;-moz-transition:-moz-transform .3s ease-out,opacity .3s ease-in;transition:transform .3s ease-out,opacity .3s ease-in}.leaflet-cluster-spider-leg{-webkit-transition:-webkit-stroke-dashoffset .3s ease-out,-webkit-stroke-opacity .3s ease-in;-o-transition:-o-stroke-dashoffset .3s ease-out, -o-stroke-opacity .3s ease-in;-moz-transition:-moz-stroke-dashoffset .3s ease-out,-moz-stroke-opacity .3s ease-in;transition:stroke-dashoffset .3s ease-out,stroke-opacity .3s ease-in}.marker-cluster-small{background-color:#b5e28c99}.marker-cluster-small div{background-color:#6ecc3999}.marker-cluster-medium{background-color:#f1d35799}.marker-cluster-medium div{background-color:#f0c20c99}.marker-cluster-large{background-color:#fd9c7399}.marker-cluster-large div{background-color:#f1801799}.leaflet-oldie .marker-cluster-small{background-color:#b5e28c}.leaflet-oldie .marker-cluster-small div{background-color:#6ecc39}.leaflet-oldie .marker-cluster-medium{background-color:#f1d357}.leaflet-oldie .marker-cluster-medium div{background-color:#f0c20c}.leaflet-oldie .marker-cluster-large{background-color:#fd9c73}.leaflet-oldie .marker-cluster-large div{background-color:#f18017}.marker-cluster{background-clip:padding-box;border-radius:20px}.marker-cluster div{text-align:center;border-radius:15px;width:30px;height:30px;margin-top:5px;margin-left:5px;font:12px Helvetica Neue,Arial,Helvetica,sans-serif}.marker-cluster span{line-height:30px}.beautify-marker{text-align:center;box-sizing:border-box;font-family:monospace;font-weight:700;position:absolute}.beautify-marker.selected>div{border-color:red;outline:none;box-shadow:0 0 10px red}.beautify-marker.circle,.beautify-marker.circle-dot,.beautify-marker.doughnut{border-radius:100%}.beautify-marker.marker{border-radius:50% 50% 0% 100%/50% 100% 0% 50%;transform:rotate(45deg)}.beautify-marker.marker>*{transform:rotate(-45deg)}g.d3-overlay *{pointer-events:visiblePainted}.map_Leaflet .leaflet-container{background:#f000}.cluster-circle{background-clip:padding-box;font:12px Helvetica Neue,Arial,Helvetica,sans-serif}.cluster-circle>div{text-align:center;border-radius:20px;width:40px;height:40px}.cluster-circle>div>div{text-align:center;border-radius:15px;width:30px;height:30px;margin-top:5px;font:12px Helvetica Neue,Arial,Helvetica,sans-serif;display:inline-block}.cluster-circle span{line-height:30px}.leaflet-interactive.selected{stroke:red;stroke-width:1.25px}/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();
|