@phila/phila-ui-map-core 0.0.3-beta.12 → 0.0.3-beta.14
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/README.md +22 -21
- package/dist/{CyclomediaCameraIcon-bUnrppoR.js → CyclomediaCameraIcon-BBe9op2Z.js} +1 -1
- package/dist/{CyclomediaCameraIcon-BaGpImod.cjs → CyclomediaCameraIcon-C6l-yGOL.cjs} +1 -1
- package/dist/{CyclomediaRecordingsLayer-CClSYxan.cjs → CyclomediaRecordingsLayer-CB6KOozw.cjs} +1 -1
- package/dist/CyclomediaRecordingsLayer-hXOEu35y.js +4 -0
- package/dist/{CyclomediaViewcone-DcSbViEK.cjs → CyclomediaViewcone-BTLRZ_xT.cjs} +1 -1
- package/dist/{CyclomediaViewcone-BMzPJMaU.js → CyclomediaViewcone-jmqPTgTK.js} +1 -1
- package/dist/{PictometryPanel-Dui9zXLp.cjs → PictometryPanel-BYR_gqaq.cjs} +6 -6
- package/dist/{PictometryPanel-BzJN86hX.js → PictometryPanel-CWAN4m8K.js} +95 -67
- package/dist/assets/phila-ui-map-core.css +1 -1
- package/dist/components.d.ts +131 -59
- package/dist/components.js +1 -1
- package/dist/components.mjs +22 -21
- package/dist/index.d.ts +131 -59
- package/dist/index.js +1 -1
- package/dist/index.mjs +22 -21
- package/package.json +3 -3
- package/dist/CyclomediaRecordingsLayer-D4FXbXr7.js +0 -4
|
@@ -2,7 +2,7 @@ import { defineComponent, inject, ref, watch, onBeforeUnmount, onUnmounted, crea
|
|
|
2
2
|
import maplibregl from "maplibre-gl";
|
|
3
3
|
import { u as useMapControl } from "./useMapControl-JxftoDwE.js";
|
|
4
4
|
import { p as point } from "./index-BXLyy2C_.js";
|
|
5
|
-
const _hoisted_1$g = ["data-layer-id"], _sfc_main$
|
|
5
|
+
const _hoisted_1$g = ["data-layer-id"], _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "RasterLayer",
|
|
7
7
|
props: {
|
|
8
8
|
id: {},
|
|
@@ -81,7 +81,7 @@ const _hoisted_1$g = ["data-layer-id"], _sfc_main$q = /* @__PURE__ */ defineComp
|
|
|
81
81
|
"data-layer-type": "raster"
|
|
82
82
|
}, null, 8, _hoisted_1$g));
|
|
83
83
|
}
|
|
84
|
-
}), _hoisted_1$f = ["data-layer-id"], _sfc_main$
|
|
84
|
+
}), _hoisted_1$f = ["data-layer-id"], _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
85
85
|
__name: "BasemapCeiling",
|
|
86
86
|
props: {
|
|
87
87
|
id: {}
|
|
@@ -4144,7 +4144,7 @@ const Y = ["for"], Z = { class: "state-layer" }, ee = { class: "content" }, ae =
|
|
|
4144
4144
|
}, _hoisted_3$6 = {
|
|
4145
4145
|
"aria-live": "polite",
|
|
4146
4146
|
class: "sr-only"
|
|
4147
|
-
}, _hoisted_4$
|
|
4147
|
+
}, _hoisted_4$3 = { key: 0 }, _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
4148
4148
|
__name: "MapSearchControl",
|
|
4149
4149
|
props: {
|
|
4150
4150
|
position: { default: "top-left" },
|
|
@@ -4199,7 +4199,7 @@ const Y = ["for"], Z = { class: "state-layer" }, ee = { class: "content" }, ae =
|
|
|
4199
4199
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
4200
4200
|
ye.value ? (openBlock(), createElementBlock("div", _hoisted_2$7, "⚠ " + toDisplayString(ye.value), 1)) : createCommentVNode("", !0),
|
|
4201
4201
|
createElementVNode("div", _hoisted_3$6, [
|
|
4202
|
-
he.value ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
4202
|
+
he.value ? (openBlock(), createElementBlock("span", _hoisted_4$3, "Searching...")) : createCommentVNode("", !0)
|
|
4203
4203
|
])
|
|
4204
4204
|
], 8, _hoisted_1$e));
|
|
4205
4205
|
}
|
|
@@ -4686,7 +4686,7 @@ defineComponent({
|
|
|
4686
4686
|
};
|
|
4687
4687
|
}
|
|
4688
4688
|
});
|
|
4689
|
-
const _hoisted_1$d = ["title", "aria-label", "aria-pressed"], _sfc_main$
|
|
4689
|
+
const _hoisted_1$d = ["title", "aria-label", "aria-pressed"], _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
4690
4690
|
__name: "MapButton",
|
|
4691
4691
|
props: {
|
|
4692
4692
|
icon: { default: void 0 },
|
|
@@ -4752,7 +4752,7 @@ var faUpRightFromSquare = {
|
|
|
4752
4752
|
iconName: "location-crosshairs",
|
|
4753
4753
|
icon: [576, 512, ["location"], "f601", "M288-16c17.7 0 32 14.3 32 32l0 18.3c98.1 14 175.7 91.6 189.7 189.7l18.3 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-18.3 0c-14 98.1-91.6 175.7-189.7 189.7l0 18.3c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-18.3C157.9 463.7 80.3 386.1 66.3 288L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l18.3 0C80.3 125.9 157.9 48.3 256 34.3L256 16c0-17.7 14.3-32 32-32zM128 256a160 160 0 1 0 320 0 160 160 0 1 0 -320 0zm160-96a96 96 0 1 1 0 192 96 96 0 1 1 0-192z"]
|
|
4754
4754
|
};
|
|
4755
|
-
const _hoisted_1$c = ["title", "aria-expanded"], _hoisted_2$6 = { class: "dropdown-label" }, _hoisted_3$5 = ["aria-checked", "tabindex", "onClick"], _sfc_main$
|
|
4755
|
+
const _hoisted_1$c = ["title", "aria-expanded"], _hoisted_2$6 = { class: "dropdown-label" }, _hoisted_3$5 = ["aria-checked", "tabindex", "onClick"], _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
4756
4756
|
__name: "BasemapDropdown",
|
|
4757
4757
|
props: {
|
|
4758
4758
|
options: {},
|
|
@@ -5203,7 +5203,7 @@ const _hoisted_1$c = ["title", "aria-expanded"], _hoisted_2$6 = { class: "dropdo
|
|
|
5203
5203
|
imageryLabelsUrl: null,
|
|
5204
5204
|
showLabels: !1
|
|
5205
5205
|
}
|
|
5206
|
-
], _sfc_main$
|
|
5206
|
+
], _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
5207
5207
|
__name: "BasemapToggle",
|
|
5208
5208
|
props: {
|
|
5209
5209
|
position: { default: "top-right" },
|
|
@@ -5246,7 +5246,7 @@ const _hoisted_1$c = ["title", "aria-expanded"], _hoisted_2$6 = { class: "dropdo
|
|
|
5246
5246
|
ue("change", we), M && M(we);
|
|
5247
5247
|
}
|
|
5248
5248
|
}
|
|
5249
|
-
return (ge, _e) => (openBlock(), createBlock(_sfc_main$
|
|
5249
|
+
return (ge, _e) => (openBlock(), createBlock(_sfc_main$o, {
|
|
5250
5250
|
image: re.value,
|
|
5251
5251
|
position: V.position,
|
|
5252
5252
|
title: V.title,
|
|
@@ -5254,7 +5254,7 @@ const _hoisted_1$c = ["title", "aria-expanded"], _hoisted_2$6 = { class: "dropdo
|
|
|
5254
5254
|
onClick: ce
|
|
5255
5255
|
}, {
|
|
5256
5256
|
default: withCtx(() => [
|
|
5257
|
-
De.showDropdown && De.dropdownOptions.length > 0 && $.value ? (openBlock(), createBlock(_sfc_main$
|
|
5257
|
+
De.showDropdown && De.dropdownOptions.length > 0 && $.value ? (openBlock(), createBlock(_sfc_main$n, {
|
|
5258
5258
|
key: 0,
|
|
5259
5259
|
options: De.dropdownOptions,
|
|
5260
5260
|
"selected-index": ye.value,
|
|
@@ -5266,7 +5266,7 @@ const _hoisted_1$c = ["title", "aria-expanded"], _hoisted_2$6 = { class: "dropdo
|
|
|
5266
5266
|
_: 1
|
|
5267
5267
|
}, 8, ["image", "position", "title", "icon-size"]));
|
|
5268
5268
|
}
|
|
5269
|
-
}), _sfc_main$
|
|
5269
|
+
}), _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
5270
5270
|
__name: "MapNavigationControl",
|
|
5271
5271
|
props: {
|
|
5272
5272
|
position: { default: "top-right" },
|
|
@@ -5275,7 +5275,7 @@ const _hoisted_1$c = ["title", "aria-expanded"], _hoisted_2$6 = { class: "dropdo
|
|
|
5275
5275
|
setup(De) {
|
|
5276
5276
|
return useMapControl(De, () => new maplibregl.NavigationControl()), (M, V) => renderSlot(M.$slots, "default");
|
|
5277
5277
|
}
|
|
5278
|
-
}), _sfc_main$
|
|
5278
|
+
}), _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
5279
5279
|
__name: "GeolocationButton",
|
|
5280
5280
|
props: {
|
|
5281
5281
|
position: { default: "top-right" },
|
|
@@ -5349,7 +5349,7 @@ const _hoisted_1$c = ["title", "aria-expanded"], _hoisted_2$6 = { class: "dropdo
|
|
|
5349
5349
|
};
|
|
5350
5350
|
return onBeforeUnmount(() => {
|
|
5351
5351
|
ge(), pe();
|
|
5352
|
-
}), (Se, xe) => (openBlock(), createBlock(_sfc_main$
|
|
5352
|
+
}), (Se, xe) => (openBlock(), createBlock(_sfc_main$o, {
|
|
5353
5353
|
icon: unref(V),
|
|
5354
5354
|
position: M.position,
|
|
5355
5355
|
title: M.title,
|
|
@@ -5357,7 +5357,7 @@ const _hoisted_1$c = ["title", "aria-expanded"], _hoisted_2$6 = { class: "dropdo
|
|
|
5357
5357
|
onClick: we
|
|
5358
5358
|
}, null, 8, ["icon", "position", "title", "icon-size"]));
|
|
5359
5359
|
}
|
|
5360
|
-
}), _hoisted_1$b = ["aria-label"], BASEMAP_CEILING_ID = "basemap-ceiling", _sfc_main$
|
|
5360
|
+
}), _hoisted_1$b = ["aria-label"], BASEMAP_CEILING_ID = "basemap-ceiling", _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
5361
5361
|
__name: "Map",
|
|
5362
5362
|
props: {
|
|
5363
5363
|
center: { default: () => [-75.163613, 39.952372] },
|
|
@@ -5392,7 +5392,7 @@ const _hoisted_1$c = ["title", "aria-expanded"], _hoisted_2$6 = { class: "dropdo
|
|
|
5392
5392
|
},
|
|
5393
5393
|
emits: ["load", "click", "move", "moveend", "zoom", "searchResult"],
|
|
5394
5394
|
setup(De, { expose: O, emit: M }) {
|
|
5395
|
-
const V = defineAsyncComponent(() => Promise.resolve().then(() => CyclomediaButton$1)), ue = defineAsyncComponent(() => Promise.resolve().then(() => CyclomediaPanel$1)), $ = defineAsyncComponent(() => import("./CyclomediaRecordingsLayer-
|
|
5395
|
+
const V = defineAsyncComponent(() => Promise.resolve().then(() => CyclomediaButton$1)), ue = defineAsyncComponent(() => Promise.resolve().then(() => CyclomediaPanel$1)), $ = defineAsyncComponent(() => import("./CyclomediaRecordingsLayer-hXOEu35y.js")), me = defineAsyncComponent(() => import("./CyclomediaCameraIcon-BBe9op2Z.js")), fe = defineAsyncComponent(() => import("./CyclomediaViewcone-jmqPTgTK.js")), he = defineAsyncComponent(() => Promise.resolve().then(() => PictometryButton$1)), ye = defineAsyncComponent(() => Promise.resolve().then(() => PictometryPanel$1)), re = De, ce = M, pe = ref(null), ge = ref(null), _e = ref(!1), we = ref(re.center), Se = ref(re.zoom), xe = ref(re.pitch), je = ref(re.bearing), Me = ref(null), Ae = ref(!1), Pe = ref(defaultImageryOptions[0]?.imageryUrl || null), Le = ref(defaultImageryOptions[0]?.imageryLabelsUrl || null), Oe = ref(defaultImageryOptions[0]?.showLabels ?? !0), Ne = ref(!1), Ue = ref(null), He = ref(!1), Ve = ref(!1), Ge = ref(null);
|
|
5396
5396
|
function Ye(Rt, rn) {
|
|
5397
5397
|
Ue.value = Rt, Rt === "cyclomedia" ? (He.value || (Ge.value = rn, He.value = !0), Ne.value = !0) : Rt === "pictometry" && (Ve.value || (Ge.value = rn, Ve.value = !0));
|
|
5398
5398
|
}
|
|
@@ -5575,19 +5575,19 @@ const _hoisted_1$c = ["title", "aria-expanded"], _hoisted_2$6 = { class: "dropdo
|
|
|
5575
5575
|
onClick: rn[0] || (rn[0] = withModifiers(() => {
|
|
5576
5576
|
}, ["prevent"]))
|
|
5577
5577
|
}, " Use arrow keys to pan the map. Press + or - to zoom. Press Tab to exit. "),
|
|
5578
|
-
De.noDefaultTileLayers ? createCommentVNode("", !0) : (openBlock(), createBlock(_sfc_main$
|
|
5578
|
+
De.noDefaultTileLayers ? createCommentVNode("", !0) : (openBlock(), createBlock(_sfc_main$r, {
|
|
5579
5579
|
key: 0,
|
|
5580
5580
|
id: "basemap",
|
|
5581
5581
|
source: wt.value,
|
|
5582
5582
|
"before-id": "basemap-labels"
|
|
5583
5583
|
}, null, 8, ["source"])),
|
|
5584
|
-
!De.noDefaultTileLayers && Pt.value ? (openBlock(), createBlock(_sfc_main$
|
|
5584
|
+
!De.noDefaultTileLayers && Pt.value ? (openBlock(), createBlock(_sfc_main$r, {
|
|
5585
5585
|
key: 1,
|
|
5586
5586
|
id: "basemap-labels",
|
|
5587
5587
|
source: Pt.value,
|
|
5588
5588
|
"before-id": Vt.value
|
|
5589
5589
|
}, null, 8, ["source", "before-id"])) : createCommentVNode("", !0),
|
|
5590
|
-
createVNode(_sfc_main$
|
|
5590
|
+
createVNode(_sfc_main$q, { id: BASEMAP_CEILING_ID }),
|
|
5591
5591
|
Ue.value === "cyclomedia" ? (openBlock(), createBlock(unref($), {
|
|
5592
5592
|
key: 2,
|
|
5593
5593
|
visible: !0,
|
|
@@ -5607,21 +5607,21 @@ const _hoisted_1$c = ["title", "aria-expanded"], _hoisted_2$6 = { class: "dropdo
|
|
|
5607
5607
|
yaw: nt.value,
|
|
5608
5608
|
"icon-size": 0.09
|
|
5609
5609
|
}, null, 8, ["position", "yaw"])) : createCommentVNode("", !0),
|
|
5610
|
-
De.navigationControls ? (openBlock(), createBlock(_sfc_main$
|
|
5610
|
+
De.navigationControls ? (openBlock(), createBlock(_sfc_main$l, {
|
|
5611
5611
|
key: 5,
|
|
5612
5612
|
position: De.navigationControls.position
|
|
5613
5613
|
}, null, 8, ["position"])) : createCommentVNode("", !0),
|
|
5614
|
-
De.geolocationControl ? (openBlock(), createBlock(_sfc_main$
|
|
5614
|
+
De.geolocationControl ? (openBlock(), createBlock(_sfc_main$k, {
|
|
5615
5615
|
key: 6,
|
|
5616
5616
|
position: De.geolocationControl.position
|
|
5617
5617
|
}, null, 8, ["position"])) : createCommentVNode("", !0),
|
|
5618
|
-
De.mapSearchControl ? (openBlock(), createBlock(_sfc_main$
|
|
5618
|
+
De.mapSearchControl ? (openBlock(), createBlock(_sfc_main$p, {
|
|
5619
5619
|
key: 7,
|
|
5620
5620
|
position: De.mapSearchControl.position,
|
|
5621
5621
|
placeholder: De.mapSearchControl.placeholder ?? "Search for an address",
|
|
5622
5622
|
onResult: St
|
|
5623
5623
|
}, null, 8, ["position", "placeholder"])) : createCommentVNode("", !0),
|
|
5624
|
-
De.basemapChangeControls?.toggle ? (openBlock(), createBlock(_sfc_main$
|
|
5624
|
+
De.basemapChangeControls?.toggle ? (openBlock(), createBlock(_sfc_main$m, {
|
|
5625
5625
|
key: 8,
|
|
5626
5626
|
position: De.basemapChangeControls.position,
|
|
5627
5627
|
"show-dropdown": De.basemapChangeControls.dropdown,
|
|
@@ -5678,7 +5678,7 @@ const _hoisted_1$c = ["title", "aria-expanded"], _hoisted_2$6 = { class: "dropdo
|
|
|
5678
5678
|
for (const [V, ue] of O)
|
|
5679
5679
|
M[V] = ue;
|
|
5680
5680
|
return M;
|
|
5681
|
-
}, Map$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5681
|
+
}, Map$1 = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-345dcecd"]]), _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
5682
5682
|
__name: "MapMarker",
|
|
5683
5683
|
props: {
|
|
5684
5684
|
lngLat: {},
|
|
@@ -5691,6 +5691,7 @@ const _hoisted_1$c = ["title", "aria-expanded"], _hoisted_2$6 = { class: "dropdo
|
|
|
5691
5691
|
iconSize: { default: 24 },
|
|
5692
5692
|
iconColor: { default: void 0 },
|
|
5693
5693
|
ariaLabel: { default: void 0 },
|
|
5694
|
+
zIndex: { default: void 0 },
|
|
5694
5695
|
className: {}
|
|
5695
5696
|
},
|
|
5696
5697
|
emits: ["dragstart", "drag", "dragend"],
|
|
@@ -5715,11 +5716,18 @@ const _hoisted_1$c = ["title", "aria-expanded"], _hoisted_2$6 = { class: "dropdo
|
|
|
5715
5716
|
}
|
|
5716
5717
|
he.addTo(me.value);
|
|
5717
5718
|
const pe = he.getElement();
|
|
5718
|
-
M.ariaLabel ? (pe.setAttribute("role", "img"), pe.setAttribute("aria-label", M.ariaLabel)) : pe.setAttribute("aria-hidden", "true"), M.draggable && he && (he.on("dragstart", () => he && V("dragstart", he.getLngLat())), he.on("drag", () => he && V("drag", he.getLngLat())), he.on("dragend", () => he && V("dragend", he.getLngLat())));
|
|
5719
|
+
M.ariaLabel ? (pe.setAttribute("role", "img"), pe.setAttribute("aria-label", M.ariaLabel)) : pe.setAttribute("aria-hidden", "true"), M.zIndex != null && (pe.style.zIndex = String(M.zIndex)), M.draggable && he && (he.on("dragstart", () => he && V("dragstart", he.getLngLat())), he.on("drag", () => he && V("drag", he.getLngLat())), he.on("dragend", () => he && V("dragend", he.getLngLat())));
|
|
5719
5720
|
}, re = () => {
|
|
5720
5721
|
he && (he.remove(), he = null);
|
|
5721
5722
|
};
|
|
5722
5723
|
return watch(
|
|
5724
|
+
() => M.zIndex,
|
|
5725
|
+
(ce) => {
|
|
5726
|
+
if (!he) return;
|
|
5727
|
+
const pe = he.getElement();
|
|
5728
|
+
ce != null ? pe.style.zIndex = String(ce) : pe.style.zIndex = "";
|
|
5729
|
+
}
|
|
5730
|
+
), watch(
|
|
5723
5731
|
() => M.lngLat,
|
|
5724
5732
|
(ce) => {
|
|
5725
5733
|
ce && he ? he.setLngLat(ce) : ce && !he && me?.value && fe?.value ? ye() : !ce && he && re();
|
|
@@ -5741,10 +5749,10 @@ const _hoisted_1$c = ["title", "aria-expanded"], _hoisted_2$6 = { class: "dropdo
|
|
|
5741
5749
|
renderSlot(ce.$slots, "default")
|
|
5742
5750
|
], 512)) : createCommentVNode("", !0);
|
|
5743
5751
|
}
|
|
5744
|
-
}), _hoisted_1$a = ["role", "aria-label", "aria-hidden"], _hoisted_2$5 = { class: "icon-circle" }, _hoisted_3$4 = {
|
|
5752
|
+
}), _hoisted_1$a = ["role", "aria-label", "aria-hidden"], _hoisted_2$5 = { class: "icon-circle" }, _hoisted_3$4 = { class: "pin-icon" }, _hoisted_4$2 = {
|
|
5745
5753
|
key: 0,
|
|
5746
5754
|
class: "pin-text"
|
|
5747
|
-
}, _sfc_main$
|
|
5755
|
+
}, _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
5748
5756
|
__name: "MapIconTextPin",
|
|
5749
5757
|
props: {
|
|
5750
5758
|
icon: {},
|
|
@@ -5752,13 +5760,14 @@ const _hoisted_1$c = ["title", "aria-expanded"], _hoisted_2$6 = { class: "dropdo
|
|
|
5752
5760
|
colorTheme: { default: "dark-primary" },
|
|
5753
5761
|
size: { default: "large" },
|
|
5754
5762
|
selected: { type: Boolean, default: !1 },
|
|
5763
|
+
hovered: { type: Boolean, default: !1 },
|
|
5755
5764
|
ariaLabel: { default: void 0 },
|
|
5756
5765
|
className: {}
|
|
5757
5766
|
},
|
|
5758
5767
|
emits: ["mouseenter", "mouseleave", "click"],
|
|
5759
5768
|
setup(De) {
|
|
5760
5769
|
return (O, M) => (openBlock(), createElementBlock("div", {
|
|
5761
|
-
class: normalizeClass(["map-icon-text-pin", [`theme-${De.colorTheme}`, `size-${De.size}`, { "icon-only": !De.text, selected: De.selected }]]),
|
|
5770
|
+
class: normalizeClass(["map-icon-text-pin", [`theme-${De.colorTheme}`, `size-${De.size}`, { "icon-only": !De.text, selected: De.selected, hovered: De.hovered }]]),
|
|
5762
5771
|
role: De.ariaLabel ? "img" : void 0,
|
|
5763
5772
|
"aria-label": De.ariaLabel,
|
|
5764
5773
|
"aria-hidden": De.ariaLabel ? void 0 : "true",
|
|
@@ -5767,14 +5776,32 @@ const _hoisted_1$c = ["title", "aria-expanded"], _hoisted_2$6 = { class: "dropdo
|
|
|
5767
5776
|
onClick: M[2] || (M[2] = (V) => O.$emit("click", V))
|
|
5768
5777
|
}, [
|
|
5769
5778
|
createElementVNode("div", _hoisted_2$5, [
|
|
5770
|
-
createElementVNode("
|
|
5771
|
-
|
|
5772
|
-
|
|
5779
|
+
createElementVNode("span", _hoisted_3$4, [
|
|
5780
|
+
createVNode(unref(FontAwesomeIcon), { icon: De.icon }, null, 8, ["icon"])
|
|
5781
|
+
])
|
|
5773
5782
|
]),
|
|
5774
|
-
De.text ? (openBlock(), createElementBlock("span",
|
|
5783
|
+
De.text ? (openBlock(), createElementBlock("span", _hoisted_4$2, toDisplayString(De.text), 1)) : createCommentVNode("", !0)
|
|
5775
5784
|
], 42, _hoisted_1$a));
|
|
5776
5785
|
}
|
|
5777
|
-
}), MapIconTextPin = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5786
|
+
}), MapIconTextPin = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-b6c20d79"]]), _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
5787
|
+
__name: "MapTooltip",
|
|
5788
|
+
props: {
|
|
5789
|
+
visible: { type: Boolean, default: !1 },
|
|
5790
|
+
hoverBridge: { type: Boolean, default: !0 },
|
|
5791
|
+
className: {}
|
|
5792
|
+
},
|
|
5793
|
+
emits: ["mouseenter", "mouseleave"],
|
|
5794
|
+
setup(De) {
|
|
5795
|
+
return (O, M) => De.visible ? (openBlock(), createElementBlock("div", {
|
|
5796
|
+
key: 0,
|
|
5797
|
+
class: "map-tooltip",
|
|
5798
|
+
onMouseenter: M[0] || (M[0] = (V) => De.hoverBridge ? O.$emit("mouseenter", V) : void 0),
|
|
5799
|
+
onMouseleave: M[1] || (M[1] = (V) => De.hoverBridge ? O.$emit("mouseleave", V) : void 0)
|
|
5800
|
+
}, [
|
|
5801
|
+
renderSlot(O.$slots, "default", {}, void 0, !0)
|
|
5802
|
+
], 32)) : createCommentVNode("", !0);
|
|
5803
|
+
}
|
|
5804
|
+
}), MapTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-ad13a953"]]), FOCUSABLE_SELECTOR = 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])', _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
5778
5805
|
__name: "MapPopup",
|
|
5779
5806
|
props: {
|
|
5780
5807
|
lngLat: {},
|
|
@@ -6816,7 +6843,7 @@ const _hoisted_1$9 = ["data-layer-id"], _sfc_main$e = /* @__PURE__ */ defineComp
|
|
|
6816
6843
|
}
|
|
6817
6844
|
}, null, 8, ["source"]),
|
|
6818
6845
|
createElementVNode("div", _hoisted_1$3, toDisplayString(me.value), 1),
|
|
6819
|
-
createVNode(_sfc_main$
|
|
6846
|
+
createVNode(_sfc_main$o, {
|
|
6820
6847
|
icon: M.icon,
|
|
6821
6848
|
image: unref(V),
|
|
6822
6849
|
"image-padding": 6,
|
|
@@ -6876,7 +6903,7 @@ const _hoisted_1$9 = ["data-layer-id"], _sfc_main$e = /* @__PURE__ */ defineComp
|
|
|
6876
6903
|
(he) => {
|
|
6877
6904
|
me.value = he;
|
|
6878
6905
|
}
|
|
6879
|
-
), (he, ye) => (openBlock(), createBlock(_sfc_main$
|
|
6906
|
+
), (he, ye) => (openBlock(), createBlock(_sfc_main$o, {
|
|
6880
6907
|
class: "cyclomedia-button",
|
|
6881
6908
|
image: unref($),
|
|
6882
6909
|
position: M.position,
|
|
@@ -188446,7 +188473,7 @@ const sourceId = "cyclomedia-recordings", layerId = "cyclomedia-recordings-layer
|
|
|
188446
188473
|
(he) => {
|
|
188447
188474
|
me.value = he;
|
|
188448
188475
|
}
|
|
188449
|
-
), (he, ye) => (openBlock(), createBlock(_sfc_main$
|
|
188476
|
+
), (he, ye) => (openBlock(), createBlock(_sfc_main$o, {
|
|
188450
188477
|
class: "pictometry-button",
|
|
188451
188478
|
image: unref($),
|
|
188452
188479
|
position: M.position,
|
|
@@ -188918,42 +188945,43 @@ const _hoisted_1$1 = { class: "pictometry-layer-control" }, _hoisted_2$1 = ["che
|
|
|
188918
188945
|
default: PictometryPanel
|
|
188919
188946
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
188920
188947
|
export {
|
|
188921
|
-
|
|
188922
|
-
|
|
188948
|
+
validateCredentials as A,
|
|
188949
|
+
clearTokenCache as B,
|
|
188923
188950
|
CyclomediaButton as C,
|
|
188924
|
-
|
|
188925
|
-
|
|
188926
|
-
|
|
188927
|
-
|
|
188928
|
-
|
|
188929
|
-
|
|
188951
|
+
defaultBasemapSource as D,
|
|
188952
|
+
defaultLabelsSource as E,
|
|
188953
|
+
defaultImageryOptions as F,
|
|
188954
|
+
imagerySources as G,
|
|
188955
|
+
imageryLabelsSource as H,
|
|
188956
|
+
imageryParcelOutlinesSource as I,
|
|
188957
|
+
imageryLabelsUrl as J,
|
|
188930
188958
|
Map$1 as M,
|
|
188931
188959
|
PictometryButton as P,
|
|
188932
|
-
_sfc_main$
|
|
188960
|
+
_sfc_main$i as _,
|
|
188933
188961
|
MapIconTextPin as a,
|
|
188934
|
-
|
|
188935
|
-
_sfc_main$
|
|
188936
|
-
_sfc_main$
|
|
188937
|
-
_sfc_main$
|
|
188938
|
-
_sfc_main$
|
|
188939
|
-
_sfc_main$
|
|
188940
|
-
|
|
188941
|
-
|
|
188942
|
-
_sfc_main$
|
|
188943
|
-
_sfc_main$
|
|
188944
|
-
_sfc_main$
|
|
188945
|
-
_sfc_main$
|
|
188946
|
-
_sfc_main$
|
|
188962
|
+
MapTooltip as b,
|
|
188963
|
+
_sfc_main$f as c,
|
|
188964
|
+
_sfc_main$e as d,
|
|
188965
|
+
_sfc_main$d as e,
|
|
188966
|
+
_sfc_main$c as f,
|
|
188967
|
+
_sfc_main$b as g,
|
|
188968
|
+
_sfc_main$r as h,
|
|
188969
|
+
MapLoadingOverlay as i,
|
|
188970
|
+
_sfc_main$l as j,
|
|
188971
|
+
_sfc_main$9 as k,
|
|
188972
|
+
_sfc_main$8 as l,
|
|
188973
|
+
_sfc_main$o as m,
|
|
188974
|
+
_sfc_main$k as n,
|
|
188947
188975
|
_sfc_main$m as o,
|
|
188948
|
-
_sfc_main$
|
|
188949
|
-
|
|
188950
|
-
|
|
188951
|
-
|
|
188952
|
-
|
|
188953
|
-
|
|
188954
|
-
_sfc_main$
|
|
188955
|
-
|
|
188956
|
-
|
|
188957
|
-
|
|
188958
|
-
|
|
188976
|
+
_sfc_main$n as p,
|
|
188977
|
+
_sfc_main$p as q,
|
|
188978
|
+
CyclomediaPanel as r,
|
|
188979
|
+
_sfc_main$5 as s,
|
|
188980
|
+
PictometryPanel as t,
|
|
188981
|
+
PictometryLayerControl as u,
|
|
188982
|
+
_sfc_main$2 as v,
|
|
188983
|
+
_sfc_main$1 as w,
|
|
188984
|
+
loadPictometryScript as x,
|
|
188985
|
+
isPictometryLoaded as y,
|
|
188986
|
+
getValidToken as z
|
|
188959
188987
|
};
|