Multiple map view (fragments) on the same display on Android devices
Customers have reported that overlapping SurfaceViews is not working in order to get multiple map views (fragments).
For best practices and optimised view, Please use texture render mode by initializing MapView with MapViewOptions and setting MapViewOptions.renderMode to MapRenderMode.TEXTURE
Detailed implementation has been attached.
API reference: https://www.here.com/docs/bundle/sdk-for-android-navigate-api-reference/page/com/here/sdk/mapview/MapViewOptions.html#renderMode
Note, setting those options in layout XML file is also possible in version 4.14.5 or later.
For reference, here's an example of setting texture render mode in XML layout file:<br />http://schemas.android.com/apk/res/android" xmlns:mapViewOptions="http://schemas.android.com/apk/res-auto" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"><br />
Note the mapViewOptions:render_mode part.
Reference XML file has been attached.