@Beta(year=2020,
month=6)
public interface ImageSource
extends Source
| Modifier and Type | Method and Description |
|---|---|
void |
setCoordinates(java.util.List<LatLng> coordinates)
Sets the image coordinates (the latitude and longitude of the four corners of the image).
|
void |
setImage(android.graphics.Bitmap bitmap)
Updates the source image to a bitmap.
|
void |
setImage(android.graphics.drawable.Drawable drawable)
Updates the source image to a bitmap obtained from drawable.
|
void |
setUrl(java.lang.String url)
Sets the URL of image for the source.
|
@Beta(year=2020,
month=6)
void setUrl(@NonNull
java.lang.String url)
@Beta(year=2020,
month=6)
void setImage(@NonNull
android.graphics.Bitmap bitmap)
@Beta(year=2020,
month=6)
void setImage(@NonNull
android.graphics.drawable.Drawable drawable)
@Beta(year=2020,
month=6)
void setCoordinates(@NonNull
java.util.List<LatLng> coordinates)