Osmdroid bonuspack show infowindow
I tried to link oscdroid bonuspack infowindow to polygon in mapview. The goal is that when I touch a polygon, I need to show some information about that polygon. I've looked at a few examples, but they've all been used with ExtendedItemizedOverlay. is it possible to link infowindow to my custom overlay class which includes a polygon list.
thanks in advance.
source to share
Inside Tutorial_1, you can see how to add InfoWindows:
https://code.google.com/p/osmbonuspack/wiki/Tutorial_1
Also, I made a small tutorial to make them quickly available.
What I will do according to your needs is change the layout inside bonuspack_bubble.xml and include TextViews with additional information you need. If you need a reference to a polygon or other object in the map, simply modify the MyInfoWindow constructor to get the objects you want.
hope this helps!
source to share