I am new in stack overflow and I was wondering if anyone could help me with javascript and getting the nearest latitude and longitude to my current location.
I have an API that stores latitude and longitude coordinates and I have saved those in javascript variables, and also have my current location saved in variables.
I need to somehow sort the list of latitude and longitude coordinates from my list to display the nearest one to my current location.
Does this make sense?