导入 jar 包
从官网下载jar 包 导入 并在 Manifests.xml 文件中添加权限。
地址: http://support.supermap.com.cn/product/iMobile.aspx
本文使用的是 SuperMap iMobile Lite 10i SP1 for Android 版本
布局文件
<com.supermap.imobilelite.maps.MapView
android:id="@+id/map_view"
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app