I have this code below for click event on google map.
// click event on map to draw X marker and set Post location
google.maps.event.addListener(map_origin, 'click', function(event) {
console.log("Click on map");//debug
var location = {
lat: event.latLng.lat(),
lon: event.latLng.lng()
};
drawAndSetPlace(location);
});
}
it works for ‘ionic serve’ but it does not recognize click on map in emulate ios or ion view in device…