Note that there are some explanatory texts on larger screens.

plurals
  1. POMultiple maps v2 in TabActivity
    text
    copied!<p>I'm currently trying to have 2 maps v2 in different tabs of a TabActivity using MapView objects. The problem arises in the following scenario:</p> <ul> <li>tab1 with a map is displayed</li> <li>go to tab2 in order to display another map</li> <li>in this second tab looks like the map image from first tab is overlapping the new map. See the following picture:</li> </ul> <p><img src="https://i.stack.imgur.com/1MWeQ.jpg" alt="TabActivity with 2 maps"></p> <p>On the right you can see how the first map is still displayed on top of it. The touch events are going to the new map but that doesn't really help. I spent a lot of time trying to convert our app to use fragments and run into other types of issues. One of them being <a href="http://code.google.com/p/android/issues/detail?id=40035" rel="noreferrer">http://code.google.com/p/android/issues/detail?id=40035</a> so that's not a good option either.</p> <p>So far I haven't been able to find any workaround. To easily try various changes I wrote a simple application and made it available here: <a href="https://github.com/cristizmf/TestMapsV2" rel="noreferrer">https://github.com/cristizmf/TestMapsV2</a>. It needs only the right location for maps library project and a good maps key in manifest.</p> <p>Any ideas would be greatly appreciated.</p> <p>Later edit: I've logged an issue for this: <a href="https://code.google.com/p/gmaps-api-issues/issues/detail?id=5027&amp;thanks=5027&amp;ts=1362071369" rel="noreferrer">https://code.google.com/p/gmaps-api-issues/issues/detail?id=5027&amp;thanks=5027&amp;ts=1362071369</a></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload