Show multiple infoWindows on google maps api, android

后端 未结 1 431
忘了有多久
忘了有多久 2021-01-24 15:16

I am a beginner trying to code a running app and have run into a problem. I am running a loop every few seconds and want to display a markers infowindow on go

1条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-24 15:40

    Well, Google Maps official doc says you can not display two/more infoWindows at a time.

    An info window allows you to display information to the user when they tap on a marker. Only one info window is displayed at a time. If a user clicks on another marker, the current info window will be hidden and the new info window will be displayed

    My Solution will be - create your Markers (custom view) like infoWindow design.

    0 讨论(0)
提交回复
热议问题