hansemannn / titanium-googlemaps

🗺 Use the Google Maps SDK in Titanium
Other
87 stars 26 forks source link

Callout or infoWindow not showing on annotation click #130

Closed Brianggalvez closed 5 years ago

Brianggalvez commented 5 years ago

With last release and running the example, clicking the annotion fires a click event but neither the callout nor the infoWindow is displayed.

hansemannn commented 5 years ago

This may have been caused by https://github.com/hansemannn/titanium-googlemaps/commit/647a4b12f013bd8d0092c0ea86c87d9695984f16, can you verify?

Brianggalvez commented 5 years ago

just tested with last release and the example provided, and the click event is fired but no callout is shown

hansemannn commented 5 years ago

Please read the previous comment again :-) I asked you to check if a recent commit caused the issue, so if you could revert it locally and check if it makes a difference.

Brianggalvez commented 5 years ago

Sorry for late response, just tested reverting the commit you suggested and the result is the same, I can see the click event fired buy any callout or infoWindow is displayed

pebosi commented 5 years ago

i can confirm this issue, no infoWindow is opened. Any chance to trigger it manually?

hansemannn commented 5 years ago

I just had some time to verify this. You have to explicitly call mapView.selectAnnotation(annotation) to show the info window properly. See a native example and discussion around this here.