From b08a2d08fb4fc0db5aea8797c9d7150466d97f8b Mon Sep 17 00:00:00 2001 From: wkyoshida Date: Sat, 7 Sep 2024 21:39:53 -0300 Subject: [PATCH 1/2] refac(map): Update to change profile on key press `[p]` --- frontend/components/media/MediaMap.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/components/media/MediaMap.vue b/frontend/components/media/MediaMap.vue index 3b0d9581d..9850b4954 100644 --- a/frontend/components/media/MediaMap.vue +++ b/frontend/components/media/MediaMap.vue @@ -90,6 +90,7 @@ const routeProfileMap: RouteProfile[] = [ const walkingRouteProfileControl = `
{ - if (event.key === "x") { + if (event.key === "p") { updateSelectedProfile(); } }); From 62d1b6e3d7709d909aa542b10839ffe9005fdad2 Mon Sep 17 00:00:00 2001 From: wkyoshida Date: Sat, 7 Sep 2024 21:44:03 -0300 Subject: [PATCH 2/2] refac(map): Update attribution text to condensed version --- frontend/components/media/MediaMap.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/components/media/MediaMap.vue b/frontend/components/media/MediaMap.vue index 9850b4954..e82c14abf 100644 --- a/frontend/components/media/MediaMap.vue +++ b/frontend/components/media/MediaMap.vue @@ -177,7 +177,7 @@ onMounted(() => { tiles: ["https://tile.openstreetmap.org/{z}/{x}/{y}.png"], tileSize: 256, attribution: - '© OpenStreetMap contributors', + '© OpenStreetMap', }, "cycle-raster-tiles": { type: "raster", @@ -188,7 +188,7 @@ onMounted(() => { ], tileSize: 256, attribution: - 'CyclOSM tiles hosted by OpenStreetMap France', + 'CyclOSM hosted by OSM France', }, }, layers: [