fix(submarine-cables): a double-click follows a landing point or reference and zooms to a cable again

The cables, landing points and references were entities, which the default
renderer's double-click followed (a point, or a reference at its tip) or
zoomed to (a cable or area) until the sources were replaced or hidden. As
draw-port items they took no part in it.
This commit is contained in:
Sameh Khamis committed 2026-11-14 01:24:24 -08:00
1 parent d003d9ee78
commit 94ea9cd01d
5 files changed
+92

No files matched your search

+2
View File
@@ -109,6 +109,8 @@ export function createLifecycle({ state, parts, source, mapStackEventTarget }) {
state._overlayPublisher.hide();
state._clickSubscription?.();
state._clickSubscription = null;
state._stockFollow?.destroy();
state._stockFollow = null;
if (state._preRenderRemover) {
state._preRenderRemover();
state._preRenderRemover = null;