diff --git a/src/modules/parcel-sync/components/connection-pill.tsx b/src/modules/parcel-sync/components/connection-pill.tsx
index 458b451..b9662ea 100644
--- a/src/modules/parcel-sync/components/connection-pill.tsx
+++ b/src/modules/parcel-sync/components/connection-pill.tsx
@@ -64,10 +64,7 @@ export function ConnectionPill({
{connecting ? (
) : session.connected ? (
-
-
-
-
+
) : session.eterraMaintenance ? (
) : connectionError ? (
diff --git a/src/modules/parcel-sync/components/epay-connect.tsx b/src/modules/parcel-sync/components/epay-connect.tsx
index af7f72e..80281d8 100644
--- a/src/modules/parcel-sync/components/epay-connect.tsx
+++ b/src/modules/parcel-sync/components/epay-connect.tsx
@@ -205,10 +205,7 @@ export function EpayConnect({
{connecting ? (
) : status.connected ? (
-
-
-
-
+
) : null}
ePay
diff --git a/src/modules/parcel-sync/components/tabs/map-tab.tsx b/src/modules/parcel-sync/components/tabs/map-tab.tsx
index 8af9d15..241ca24 100644
--- a/src/modules/parcel-sync/components/tabs/map-tab.tsx
+++ b/src/modules/parcel-sync/components/tabs/map-tab.tsx
@@ -364,6 +364,30 @@ export function MapTab({ siruta, sirutaValid }: MapTabProps) {
"line-dasharray": [4, 2],
},
});
+
+ // Labels with cadastral numbers
+ map.addLayer({
+ id: "l-mismatch-label",
+ type: "symbol",
+ source: "boundary-mismatch",
+ layout: {
+ "text-field": ["coalesce", ["get", "cadastral_ref"], ""],
+ "text-font": ["Noto Sans Bold"],
+ "text-size": 11,
+ "text-anchor": "center",
+ "text-allow-overlap": true,
+ },
+ paint: {
+ "text-color": [
+ "case",
+ ["==", ["get", "mismatch_type"], "foreign"],
+ "#ea580c",
+ "#9333ea",
+ ],
+ "text-halo-color": "#ffffff",
+ "text-halo-width": 1.5,
+ },
+ });
}
},
)
@@ -475,8 +499,9 @@ export function MapTab({ siruta, sirutaValid }: MapTabProps) {
/>
- {/* Bottom-right: legend */}
-
+ {/* Top-left: legend (hidden when feature panel is open) */}
+ {!clickedFeature && (
+
);