aviroez / osmbonuspack

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

Marker bubble doesn't support MapView changes #58

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If the MapView changes in the lifetime of an application, the Marker bubble 
will not work anymore. 

Examples: 
- orientation change
- multiple MapView in the same application

Reason: mDefaultInfoWindow is static, is built only once, and using the current 
MapView. 

Original issue reported on code.google.com by mathieu....@gmail.com on 19 Mar 2014 at 6:20

GoogleCodeExporter commented 9 years ago
First fix commited for orientation change, and included in 
osmbonuspack_snapshot.jar

Original comment by mathieu....@gmail.com on 20 Mar 2014 at 11:08

GoogleCodeExporter commented 9 years ago
This fix is now included in osmbonuspack v4.3. 
It covers orientation change, and stop/restart of the application. 

It doesn't cover the case of multiple mapviews in the same application - no 
simple fix for that. 
=> For this case, a simple workaround is to manually set a MarkerInfoWindow to 
Markers. 

Original comment by mathieu....@gmail.com on 23 Mar 2014 at 7:10

GoogleCodeExporter commented 9 years ago
Hi, i'm the guy that discovered the issue on stackoverflow, i have a question!

Why not supply a method to change the context of the infowindow? you can handle 
which context has the marker infowindow. is correct?

Original comment by appstest...@gmail.com on 29 Mar 2014 at 8:41

GoogleCodeExporter commented 9 years ago
This would be to handle which need/issue?

Original comment by mathieu....@gmail.com on 29 Mar 2014 at 7:51

GoogleCodeExporter commented 9 years ago
If we have a method to change the context, we can re-use the same
InfoWindow in more than one map, i'm right?

2014-03-29 20:51 GMT+01:00 <osmbonuspack@googlecode.com>:

Original comment by appstest...@gmail.com on 2 May 2014 at 8:08