I cannot get this listener to fire. Any suggestions? I feel like I have tried everything. Thanks
"cordova-plugin-googlemaps": "^2.0.11"
The marker is added to the map but the click event does not fire the alert.
let latlng = new LatLng(spot.lat, spot.long);
let markerOptions: MarkerOptions = {
'position': latlng,
'animation': 'drop'
};
this.map.addMarker(markerOptions).then((marker: Marker) => {
marker.addEventListener(GoogleMapsEvent.MARKER_CLICK).subscribe(e => {
alert('foo');
});
});