From cad01e689e0cb4b12fefce98235e988892f0b94a Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Thu, 23 Apr 2026 23:02:53 +0000 Subject: [PATCH] Initial working genericized map implementation This shows dynamically adding layers and sources and actually reads from them! --- ts/map/Layer.vue | 68 +++++++++++++++++++++++++ ts/map/Map.vue | 125 ++++++++++++++++++++++++++++++++++++++++++++++ ts/map/Source.vue | 46 +++++++++++++++++ ts/view/Dash.vue | 89 ++++++++++++++++++++++++++++++--- 4 files changed, 320 insertions(+), 8 deletions(-) create mode 100644 ts/map/Layer.vue create mode 100644 ts/map/Map.vue create mode 100644 ts/map/Source.vue diff --git a/ts/map/Layer.vue b/ts/map/Layer.vue new file mode 100644 index 00000000..52ba3c37 --- /dev/null +++ b/ts/map/Layer.vue @@ -0,0 +1,68 @@ + + + diff --git a/ts/map/Map.vue b/ts/map/Map.vue new file mode 100644 index 00000000..accbef7e --- /dev/null +++ b/ts/map/Map.vue @@ -0,0 +1,125 @@ + + + + + diff --git a/ts/map/Source.vue b/ts/map/Source.vue new file mode 100644 index 00000000..4ecbf5c0 --- /dev/null +++ b/ts/map/Source.vue @@ -0,0 +1,46 @@ + + + diff --git a/ts/view/Dash.vue b/ts/view/Dash.vue index d7671aa2..02b9f87e 100644 --- a/ts/view/Dash.vue +++ b/ts/view/Dash.vue @@ -1,3 +1,13 @@ +