我想用谷歌地图放大到一个点,但我想使用 android sdk 8 而不是 11
<fragment
android:id="@+id/map"
android:layout_width="match_parent"
android:layout_height="0dip"
android:layout_weight="90"
class="com.google.android.gms.maps.SupportMapFragment" />
和
mapView = (MapView) findViewById(R.id.map);
mapView.setBuiltInZoomControls(true);
mc = mapView.getController();
但我有错误
java.lang.ClassCastException: android.support.v4.app.NoSaveStateFrameLayout cannot be cast to com.google.android.maps.MapView
所以我想用 sdk8 放大到一个点
谢谢