What do you mean by “nearest”? If you mean distance along a direct line between you and a marker, it shouldn’t be difficult to calculate it for each marker using latitude / longitude [and altitude if you know it] of the two points: the length of 1 degree of latitude (meridian) is the same everywhere (supposing the Earth is an ellipsoid), length of 1 degree of longitude depends on the latitude of the location (it is proportional to the cosine of latitude) but still it’s not too difficult to calculate. Then calculate the square root of the sum of squared distances by latitude, longitude and altitude.
Of course, if you mean distance along a route, it is more difficult. [import]uid: 57266 topic_id: 31880 reply_id: 127256[/import]