代码写在activity里显示黑屏,具体原因不清楚
<com.esri.android.map.MapView android:id="@+id/map" android:layout_width="match_parent" android:layout_height="match_parent" mapoptions.MapType="Streets" mapoptions.ZoomLevel="10" mapoptions.center="39.056215, -96.195668"> </com.esri.android.map.MapView>
@Override protected void onDestroy() { super.onDestroy(); if (locationDisplayManager != null) { locationDisplayManager.stop(); } } @Override protected void onPause() { super.onPause(); map.pause(); } @Override protected void onResume() { super.onResume(); map.unpause(); }