From 6ad7c560fc67dc328a3cd8db76834b1cc4241775 Mon Sep 17 00:00:00 2001 From: Arne Hamann Date: Wed, 6 Sep 2023 22:26:56 +0200 Subject: [PATCH] heat map for photos Signed-off-by: Arne Hamann --- package-lock.json | 11 +++ package.json | 1 + src/components/top-matter/MapSplitMatter.vue | 42 ++++++++++ src/components/top-matter/map/LHeatMap.vue | 84 ++++++++++++++++++++ 4 files changed, 138 insertions(+) create mode 100644 src/components/top-matter/map/LHeatMap.vue diff --git a/package-lock.json b/package-lock.json index b8aa63b8..380c730d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,6 +20,7 @@ "justified-layout": "^4.1.0", "leaflet": "^1.9.4", "leaflet-edgebuffer": "^1.0.6", + "leaflet.heat": "^0.2.0", "luxon": "^3.3.0", "path-posix": "^1.0.0", "photoswipe": "^5.3.8", @@ -6728,6 +6729,11 @@ "resolved": "https://registry.npmjs.org/leaflet-edgebuffer/-/leaflet-edgebuffer-1.0.6.tgz", "integrity": "sha512-2RZsp3rta0w2zBgC40F7drhYCAPaS0/i6o9MR0gMA0cdp83rLv+1gfqPnF7lnFdqskteGyQX+wzLFVdHrQjb4A==" }, + "node_modules/leaflet.heat": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/leaflet.heat/-/leaflet.heat-0.2.0.tgz", + "integrity": "sha512-Cd5PbAA/rX3X3XKxfDoUGi9qp78FyhWYurFg3nsfhntcM/MCNK08pRkf4iEenO1KNqwVPKCmkyktjW3UD+h9bQ==" + }, "node_modules/leven": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", @@ -16655,6 +16661,11 @@ "resolved": "https://registry.npmjs.org/leaflet-edgebuffer/-/leaflet-edgebuffer-1.0.6.tgz", "integrity": "sha512-2RZsp3rta0w2zBgC40F7drhYCAPaS0/i6o9MR0gMA0cdp83rLv+1gfqPnF7lnFdqskteGyQX+wzLFVdHrQjb4A==" }, + "leaflet.heat": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/leaflet.heat/-/leaflet.heat-0.2.0.tgz", + "integrity": "sha512-Cd5PbAA/rX3X3XKxfDoUGi9qp78FyhWYurFg3nsfhntcM/MCNK08pRkf4iEenO1KNqwVPKCmkyktjW3UD+h9bQ==" + }, "leven": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", diff --git a/package.json b/package.json index b688fe2f..16d5eb55 100644 --- a/package.json +++ b/package.json @@ -41,6 +41,7 @@ "justified-layout": "^4.1.0", "leaflet": "^1.9.4", "leaflet-edgebuffer": "^1.0.6", + "leaflet.heat": "^0.2.0", "luxon": "^3.3.0", "path-posix": "^1.0.0", "photoswipe": "^5.3.8", diff --git a/src/components/top-matter/MapSplitMatter.vue b/src/components/top-matter/MapSplitMatter.vue index d452c1ca..2006c124 100644 --- a/src/components/top-matter/MapSplitMatter.vue +++ b/src/components/top-matter/MapSplitMatter.vue @@ -30,6 +30,16 @@ + @@ -37,6 +47,7 @@