The
Map.getLastClickLatitude function retrieves the latitude 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 latitude is only recorded if a user taps on the map itself rather than on a marker.