2013-06-25 47 views

回答

1
GoogleMap theMap; 

//in the below function pass your LatLang and the zoom level 
theMap.animateCamera(CameraUpdateFactory.newLatLngZoom(Your Pin LatLangPoint, 14)); 
+1

完美的答案,我可以做到。謝謝.. –

1

在我的情況下,我從一個陣列獲得geopoints,你可以嘗試類似的東西或修改代碼,然後設置使用mapcontroller

private MapController mapController; 
GeoPoint[] mallCoords; 

mallCoords = new GeoPoint[24]; 

mallCoords[0] = new GeoPoint(28701067, 77116834);//this is just an example 

mapController.animateTo(mallCoords[0]); 
mapController.setZoom(15); 
相關問題