Google Maps Android API v2 - Interactive InfoWindow (like in original android google maps)

前端 未结 7 1651
眼角桃花
眼角桃花 2020-11-22 01:41

I am trying to a make custom InfoWindow after a click on a marker with the new Google Maps API v2. I want it to look like in the original maps application by Go

7条回答
  •  抹茶落季
    2020-11-22 02:21

    Just a speculation, I have not enough experience to try it... )-:

    Since GoogleMap is a fragment, it should be possible to catch marker onClick event and show custom fragment view. A map fragment will be still visible on the background. Does anybody tried it? Any reason why it could not work?

    The disadvantage is that map fragment would be freezed on backgroud, until a custom info fragment return control to it.

提交回复
热议问题