From 85caf39395b67a230d88af9ece6f83471cdf1d9a Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Mon, 16 Dec 2024 20:04:26 +0530 Subject: [PATCH] feat: update location --- .../dashboard/components-next/message/bubbles/Location.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/javascript/dashboard/components-next/message/bubbles/Location.vue b/app/javascript/dashboard/components-next/message/bubbles/Location.vue index 5266f3a81..44d53e151 100644 --- a/app/javascript/dashboard/components-next/message/bubbles/Location.vue +++ b/app/javascript/dashboard/components-next/message/bubbles/Location.vue @@ -61,7 +61,7 @@ const setupMap = () => { const map = new maplibregl.Map({ style: 'https://tiles.openfreemap.org/styles/positron', center: [long.value, lat.value], - zoom: 9.5, + zoom: 15, container: mapContainer.value, attributionControl: false, dragPan: false, @@ -72,6 +72,7 @@ const setupMap = () => { keyboard: false, doubleClickZoom: false, }); + new maplibregl.Marker().setLngLat([long.value, lat.value]).addTo(map); return map; };