First things first, we need to implement the naive solution:
- Looping through all points
- Calculating the Euclidean distance for each outflow point
- Determine the minimum distance point
Once we have that point, we need to make a pop-up notifying the user at that location using JS.
First things first, we need to implement the naive solution:
Once we have that point, we need to make a pop-up notifying the user at that location using JS.