khalildakar93 / osmbonuspack

Automatically exported from code.google.com/p/osmbonuspack
0 stars 0 forks source link

Cannot remove bubble on the map. #113

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
map.getOverlays().clear(); 

This method does not clear the bubbles on the map.

Original issue reported on code.google.com by biswas.k...@gmail.com on 16 Mar 2015 at 3:05

GoogleCodeExporter commented 8 years ago
Effectively. 

map.getOverlays().clear(); is part of osmdroid, outside the scope of 
OSMBonusPack. 

Solutions: 
- For one marker: call marker.closeInfoWindow()
- For all markers: call InfoWindow.closeAllInfoWindowsOn(map) (see 
https://code.google.com/p/osmbonuspack/wiki/Tutorial_5). 

Original comment by mathieu....@gmail.com on 16 Mar 2015 at 1:43

GoogleCodeExporter commented 8 years ago

Original comment by mathieu....@gmail.com on 17 Mar 2015 at 9:06