public void setWindow(LatLng center, double deltaLat, double deltaLng) {
		if (deltaLat == Double.NaN || deltaLat == Double.POSITIVE_INFINITY
				|| deltaLat == Double.NEGATIVE_INFINITY)
			throw new IllegalArgumentException("Invalid latitude delta.");
		if (deltaLng == Double.NaN || deltaLng == Double.POSITIVE_INFINITY
				|| deltaLng == Double.NEGATIVE_INFINITY)
			throw new IllegalArgumentException("Invalid longitude delta.");
		double dlat = min(abs(deltaLat), 180.0);
		this.setLatWindow(center.getLatitude(), dlat);

		double dlng = min(abs(deltaLng), 360.0);
		this.setLngWindow(center.getLongitude(), dlng);

		this.center = center;
	}