Open kingfisherphuoc opened 7 years ago
strange. what kind of layout are the map views in?
it's FrameLayout
:
<FrameLayout
android:id="@+id/mapContainer"
android:layout_width="match_parent"
android:layout_height="match_parent">
</FrameLayout>
@kingfisherphuoc did you figure this out? I would suggest populating everything from a layout xml file if possible.
I need to switch between
Osmdroid Mapview
andGoogle MapView
, here the code I need to change:when I added the Google MapView first, then I can switch to Osmdroid MapView easily without any issue. However, the problem occurs when I try to change from osmdroid to google. Can anyone help? @spyhunter99