在我的安卓应用程序中,我有以下代码...
CameraUpdate center= CameraUpdateFactory.newLatLng(new LatLng(Lat,Lon));
DebugLog.debugLog("centered camera on " + Lat + " and " + Lon, false);
CameraUpdate zoom=CameraUpdateFactory.zoomTo(15);
map.moveCamera(center);
map.animateCamera(zoom);
map.addMarker(new MarkerOptions()
.position(new LatLng(Lat, Lon))
.title("Phone Location")
);
纬度为31.7898,经度为-111.0354。
标记的位置是准确的。然而,在v2地图上相机的中心位置在该位置北约5英里处。为什么呢?谢谢,Gary。