Android & Google Maps - close info window with back button

Posted by m4ch3t3 on Stack Overflow See other posts from Stack Overflow or by m4ch3t3
Published on 2014-08-21T14:41:52Z Indexed on 2014/08/22 10:20 UTC
Read the original article Hit count: 172

I have an activity that holds a fragment with Google Map view in it. App adds several dozens of markers to the MapView, using MarkerManager and ClusterRenderer to form clusters.

The problem is that when I have marker's InfoWindow opened and I press hardware Back button, it closes the app. Instead of that, I would like to have the InfoWindow closed.

Is there any straightforward way to achieve this?

© Stack Overflow or respective owner

Related posts about android

Related posts about google-maps-markers