The
Map.getLastClickLongitude function retrieves the longitude of the last point on the map that the user tapped. This is often used in the callback function passed to
Map.setOnClick to get the coordinates of the point that was just tapped. The tapped longitude is only recorded if a user taps on the map itself rather than on a marker.