From d99d2389dc3c744a07e306346bc2efa33f8727f5 Mon Sep 17 00:00:00 2001 From: Ninjasoturi <52629375+Ninjasoturi@users.noreply.github.com> Date: Fri, 27 May 2022 13:44:25 +0300 Subject: [PATCH] Improved areas.example.json Improved the format in the example file to better display the order of longitude and latitude, and that the first and last coordinates of the fence need to be the same --- server/src/configs/areas.example.json | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/server/src/configs/areas.example.json b/server/src/configs/areas.example.json index c850d6079..7d8b916f9 100644 --- a/server/src/configs/areas.example.json +++ b/server/src/configs/areas.example.json @@ -7,8 +7,20 @@ "coordinates": [ [ [ - -100, - 4 + lon1, + lat1 + ], + [ + lon2, + lat2 + ], + [ + lon3, + lat3 + ], + [ + lon1, + lat1 ] ] ]