Initial version -- added millennium read funcionality

This commit is contained in:
Pablo
2026-03-09 22:05:28 +01:00
commit 77c2ded482
2770 changed files with 141927 additions and 0 deletions
@@ -0,0 +1,46 @@
package com.google.android.gms.maps;
import android.graphics.Point;
import android.os.RemoteException;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.dynamic.ObjectWrapper;
import com.google.android.gms.maps.internal.IProjectionDelegate;
import com.google.android.gms.maps.model.LatLng;
import com.google.android.gms.maps.model.RuntimeRemoteException;
import com.google.android.gms.maps.model.VisibleRegion;
/* JADX INFO: compiled from: com.google.android.gms:play-services-maps@@19.0.0 */
/* JADX INFO: loaded from: classes2.dex */
public final class Projection {
private final IProjectionDelegate zza;
Projection(IProjectionDelegate iProjectionDelegate) {
this.zza = iProjectionDelegate;
}
public LatLng fromScreenLocation(Point point) {
Preconditions.checkNotNull(point);
try {
return this.zza.fromScreenLocation(ObjectWrapper.wrap(point));
} catch (RemoteException e) {
throw new RuntimeRemoteException(e);
}
}
public VisibleRegion getVisibleRegion() {
try {
return this.zza.getVisibleRegion();
} catch (RemoteException e) {
throw new RuntimeRemoteException(e);
}
}
public Point toScreenLocation(LatLng latLng) {
Preconditions.checkNotNull(latLng);
try {
return (Point) ObjectWrapper.unwrap(this.zza.toScreenLocation(latLng));
} catch (RemoteException e) {
throw new RuntimeRemoteException(e);
}
}
}