I am using “@ionic-native/google-maps”: “^4.9.1”.
How will i use MY_LOCATION_BUTTON_CLICK
like below code
this.map.addEventListener(GoogleMapsEvent.MY_LOCATION_BUTTON_CLICK, function() {
alert("The my location button is clicked.");
});
But here addEventListener error shows.
see screenshot gogole map mylocation button.