【发布时间】:2020-03-16 08:01:44
【问题描述】:
有没有办法在不将MapFragmet 放在Layout 中的情况下获得Map or MapView?
<com.here.android.mpa.mapping.MapView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/here_map"
android:layout_width="fill_parent"
android:layout_height="fill_parent"/>
我已经尝试将 MapView 直接放置在我的布局中,但是没有方法可以初始化或从中请求 Map。
【问题讨论】: