Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Android: Multiple MapView's apparently not supported? #194
I see various issues when having multiple MapView's on Android at the same time:
Is it intended to support multiple map views at the same time?
added a commit
Oct 2, 2016
MapView on Android uses GLSurfaceView. GLSurfaceViews can not overlap:
referenced this issue
Jan 17, 2017
I made a working sample of fragments stack showing different mapviews (as previously said, using
Any ideas ? Where can I find the possible shared data in order to debug ?
Yes, but is not perfect solution. Black labels are show when move or zoom the map, but not continuous and not all situation.
I tried your solution @ocsike but for me it's same with or without update()/clear()
Do anyone have any idea of when this issue will be addressed ?
@devemux86 Indeed, it works with a single fragment.
But it's also very annoying when using a main map as first fragment, and use secondary maps in others fragments. At this time, the map is always messed up.
NOTE: Because the map breaks out using fragment backstack, I'm forced to use another map libraries (osmdroid) for secondary maps