From b6037d7525e0a6450ad7df666a5c009c22b3f9aa Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Fri, 3 Apr 2026 19:02:20 +0000 Subject: [PATCH] Add address suggestion component --- ts/components/AddressSuggestion.vue | 189 ++++++++++++++++++++++++++++ ts/rmo/content/Nuisance.vue | 13 +- ts/type/stadia.ts | 28 +++++ 3 files changed, 227 insertions(+), 3 deletions(-) create mode 100644 ts/components/AddressSuggestion.vue create mode 100644 ts/type/stadia.ts diff --git a/ts/components/AddressSuggestion.vue b/ts/components/AddressSuggestion.vue new file mode 100644 index 00000000..2aa662b9 --- /dev/null +++ b/ts/components/AddressSuggestion.vue @@ -0,0 +1,189 @@ + + + + diff --git a/ts/rmo/content/Nuisance.vue b/ts/rmo/content/Nuisance.vue index 1ffcc961..23c28248 100644 --- a/ts/rmo/content/Nuisance.vue +++ b/ts/rmo/content/Nuisance.vue @@ -50,11 +50,12 @@
- - +
@@ -409,9 +410,15 @@ diff --git a/ts/type/stadia.ts b/ts/type/stadia.ts new file mode 100644 index 00000000..9fc96cef --- /dev/null +++ b/ts/type/stadia.ts @@ -0,0 +1,28 @@ +// Interface definitions +interface AddressComponents { + number?: string; + street?: string; + city?: string; + state?: string; + zip?: string; +} + +interface AddressProperties { + gid: string; + name: string; + coarse_location?: string; + formatted_address_line?: string; + address_components?: AddressComponents; + coordinates?: { + lat: number; + lon: number; + }; +} + +export interface Address { + properties: AddressProperties; + geometry?: { + type: string; + coordinates: [number, number]; + }; +}