2015-11-06 76 views
0

我有一個片段地圖視圖:Android的 - 谷歌地圖顯示模糊畫面時,地圖移動

<fragment 
    android:id="@+id/map" 
    android:name="com.google.android.gms.maps.SupportMapFragment" 
    android:layout_width="match_parent" 
    android:layout_height="match_parent" 
    android:layout_below="@+id/llHeader" /> 

而且地圖移動接收GPS信號和谷歌地圖顯示模糊畫面時的當前位置。 任何機構都可以幫助我,對不起我的英語。

enter image description here

+0

什麼放大時設定的畫在地圖上的點?也許它的原因 –

+0

@brayan camilo villate leon:當設置動畫地圖時,我不設置縮放。 mGoogleMap.animateCamera(CameraUpdateFactory.newLatLng(latlng)); –

+0

試試這個。 mMap.animateCamera(CameraUpdateFactory.newLatLngZoom(new LatLng(latlng),12)); –

回答

0

試試這個:

mMap.animateCamera(CameraUpdateFactory.newLatLngZoom(new LatLng(latlng), 12));