Dynamic contents in Maps V2 InfoWindow

后端 未结 4 789
陌清茗
陌清茗 2020-11-29 03:24

I want to show an InfoWindow on markers in a Maps V2 fragment. Thing is, I want to show BitMaps that are dynamically loaded from the web with Universal Image Downloader.

4条回答
  •  余生分开走
    2020-11-29 04:07

    I did something similar. This was still giving me the recession error

    if (markerShowingInfoWindow != null && markerShowingInfoWindow.isShowingInfoWindow()) {
        markerShowingInfoWindow.showInfoWindow();
    }
    

    So what i did was simply closes the window and open it again

    if (markerShowingInfoWindow != null && markerShowingInfoWindow.isShowingInfoWindow()) {
    
        markerShowingInfoWindow.hideInfoWindow();
        markerShowingInfoWindow.showInfoWindow();
    
    }
    

    for a better detail version of the same answer here is my original soultion LINK

提交回复
热议问题