dapriett / nativescript-google-maps-sdk

Cross Platform Google Maps SDK for Nativescript
MIT License
244 stars 164 forks source link

infoWindow open without a click event #460

Closed isabeladowsley closed 3 years ago

isabeladowsley commented 3 years ago

Hi all!

Is there a way to trigger the infoWindow to be opened without a click event on the marker?

I am calling onMarkerSelect from inside another function and not clicking on the marker, which is happening as expected. However, the infoWindow is not being opened without the click event on the marker.

Thanks

dlcole commented 3 years ago

Yes, use the marker's showInfoWindow() method.

isabeladowsley commented 3 years ago

Thanks!!