219 lines
5.7 KiB
Java
219 lines
5.7 KiB
Java
package com.google.android.gms.maps.model;
|
|
|
|
import android.os.RemoteException;
|
|
import com.google.android.gms.common.internal.Preconditions;
|
|
import com.google.android.gms.dynamic.ObjectWrapper;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class GroundOverlay {
|
|
private final com.google.android.gms.internal.maps.zzk zzcw;
|
|
|
|
public GroundOverlay(com.google.android.gms.internal.maps.zzk zzkVar) {
|
|
this.zzcw = (com.google.android.gms.internal.maps.zzk) Preconditions.checkNotNull(zzkVar);
|
|
}
|
|
|
|
public final void remove() {
|
|
try {
|
|
this.zzcw.remove();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final String getId() {
|
|
try {
|
|
return this.zzcw.getId();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final void setPosition(LatLng latLng) {
|
|
try {
|
|
this.zzcw.setPosition(latLng);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final LatLng getPosition() {
|
|
try {
|
|
return this.zzcw.getPosition();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final void setImage(BitmapDescriptor bitmapDescriptor) {
|
|
Preconditions.checkNotNull(bitmapDescriptor, "imageDescriptor must not be null");
|
|
try {
|
|
this.zzcw.zzf(bitmapDescriptor.zzb());
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final void setDimensions(float f) {
|
|
try {
|
|
this.zzcw.setDimensions(f);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final void setDimensions(float f, float f2) {
|
|
try {
|
|
this.zzcw.zza(f, f2);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final float getWidth() {
|
|
try {
|
|
return this.zzcw.getWidth();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final float getHeight() {
|
|
try {
|
|
return this.zzcw.getHeight();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final void setPositionFromBounds(LatLngBounds latLngBounds) {
|
|
try {
|
|
this.zzcw.setPositionFromBounds(latLngBounds);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final LatLngBounds getBounds() {
|
|
try {
|
|
return this.zzcw.getBounds();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final void setBearing(float f) {
|
|
try {
|
|
this.zzcw.setBearing(f);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final float getBearing() {
|
|
try {
|
|
return this.zzcw.getBearing();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final void setZIndex(float f) {
|
|
try {
|
|
this.zzcw.setZIndex(f);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final float getZIndex() {
|
|
try {
|
|
return this.zzcw.getZIndex();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final void setVisible(boolean z) {
|
|
try {
|
|
this.zzcw.setVisible(z);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final boolean isVisible() {
|
|
try {
|
|
return this.zzcw.isVisible();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final void setClickable(boolean z) {
|
|
try {
|
|
this.zzcw.setClickable(z);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final boolean isClickable() {
|
|
try {
|
|
return this.zzcw.isClickable();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final void setTransparency(float f) {
|
|
try {
|
|
this.zzcw.setTransparency(f);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final float getTransparency() {
|
|
try {
|
|
return this.zzcw.getTransparency();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final void setTag(Object obj) {
|
|
try {
|
|
this.zzcw.zze(ObjectWrapper.wrap(obj));
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final Object getTag() {
|
|
try {
|
|
return ObjectWrapper.unwrap(this.zzcw.zzk());
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final boolean equals(Object obj) {
|
|
if (!(obj instanceof GroundOverlay)) {
|
|
return false;
|
|
}
|
|
try {
|
|
return this.zzcw.zzb(((GroundOverlay) obj).zzcw);
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
|
|
public final int hashCode() {
|
|
try {
|
|
return this.zzcw.zzj();
|
|
} catch (RemoteException e) {
|
|
throw new RuntimeRemoteException(e);
|
|
}
|
|
}
|
|
}
|