From 963254973bff4405dcf7779b77e2e7bed8ea8861 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Thu, 23 Apr 2026 23:31:50 +0000 Subject: [PATCH] Move map-utils into map/ Namespacing matters --- ts/components/MapLocator.vue | 2 +- ts/components/MapLocatorDisplay.vue | 2 +- ts/components/MapProxiedArcgisTile.vue | 2 +- ts/{map-utils.ts => map/util.ts} | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename ts/{map-utils.ts => map/util.ts} (100%) diff --git a/ts/components/MapLocator.vue b/ts/components/MapLocator.vue index 52641da5..cba5c678 100644 --- a/ts/components/MapLocator.vue +++ b/ts/components/MapLocator.vue @@ -163,7 +163,7 @@ import { useTemplateRef, watch, } from "vue"; -import { boundsMarkers, boundsDefault } from "@/map-utils"; +import { boundsMarkers, boundsDefault } from "@/map/util"; import type { MapClickEvent, Marker } from "@/types"; import type { Location } from "@/type/api"; import type { Camera, MoveEndEventInternal } from "@/type/map"; diff --git a/ts/components/MapLocatorDisplay.vue b/ts/components/MapLocatorDisplay.vue index dfa90be8..880d058b 100644 --- a/ts/components/MapLocatorDisplay.vue +++ b/ts/components/MapLocatorDisplay.vue @@ -34,7 +34,7 @@ import { useTemplateRef, watch, } from "vue"; -import { boundsMarkers, boundsDefault } from "@/map-utils"; +import { boundsMarkers, boundsDefault } from "@/map/util"; import type { Marker } from "@/types"; import type { Location } from "@/type/api"; import type { Camera, MoveEndEventInternal } from "@/type/map"; diff --git a/ts/components/MapProxiedArcgisTile.vue b/ts/components/MapProxiedArcgisTile.vue index 1bc54516..068c2009 100644 --- a/ts/components/MapProxiedArcgisTile.vue +++ b/ts/components/MapProxiedArcgisTile.vue @@ -139,7 +139,7 @@ import { } from "vue"; import LayersControl from "@/components/LayersControl"; -import { boundsMarkers, boundsDefault } from "@/map-utils"; +import { boundsMarkers, boundsDefault } from "@/map/util"; import { type MapClickEvent, type Marker, Point } from "@/types"; import type { Location } from "@/type/api"; import type { Camera, MoveEndEventInternal } from "@/type/map"; diff --git a/ts/map-utils.ts b/ts/map/util.ts similarity index 100% rename from ts/map-utils.ts rename to ts/map/util.ts