
 Vagharshak Tozalakyan - 2018-03-11 14:18:13 - 
In reply to message 1 from Luis Arturo López Vergara 
You can add a click event listener on map and get lat and lng coordinates on click:
function mbOnAfterInit(map) {
    google.maps.event.addListener(map, "click", function(e) {
        console.log(e.latLng.lat(), e.latLng.lng());
    });
}