From c8d15e4594c16bedd3955cf9d7add861233fe94f Mon Sep 17 00:00:00 2001 From: Wahyu Ramadhan Date: Tue, 22 Aug 2023 09:46:42 +0700 Subject: [PATCH] Use waypoint coordinates --- src/appredux/modules/map/actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/appredux/modules/map/actions.js b/src/appredux/modules/map/actions.js index 442deb3..efdf229 100644 --- a/src/appredux/modules/map/actions.js +++ b/src/appredux/modules/map/actions.js @@ -133,7 +133,7 @@ export const getUserPoints = async () => { feature.geometry = { "type": "Point", - "coordinates": [n.clock_in_lng, n.clock_in_lat] + "coordinates": [n.wp_lon, n.wp_lat] } featureCollection.features.push(feature);