Find a marker nearest to the click location
Click anywhere on the Map to find out which of the five Markers is the nearest to that spot. You can also drag and drop any Marker to a new position.
Examples demonstrates how to calculate distance between two geo points and employs simple marker drag and drop implementation.