Code example for LatLng

Methods: toString

0
	} 
	 
	public void moveMapPositionTo(LatLng location, Float zoom, Float tilt, boolean animate, Integer duration) {
 
		if(!animating && location != null) {
			Log.d(TAG, "move map to [position=" + location.toString() + 
					", bearing=" + bearing + 
					", animate="+ animate + "]");
 
			CameraPosition cameraPosition = new CameraPosition.Builder()
				.target(location)
				.zoom(zoom != null ? zoom : DEFAULT_ZOOM)              
				.bearing(MODE == MODE_NORTH  ? 0 : bearing)
				.tilt(tilt != null ? tilt : DEFAULT_TILT)                
				.build(); 	
			 
			CameraUpdate camUpdate = CameraUpdateFactory.newCameraPosition(cameraPosition);
			 
			if(animate) {
				stopSensorUpdates(); 
				animating = true;