@Beta(year=2019, month=12) 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=2019, month=12) void setUrl(@NonNull java.lang.String url)
@Beta(year=2019, month=12) void setImage(@NonNull android.graphics.Bitmap bitmap)
@Beta(year=2019, month=12) void setImage(@NonNull android.graphics.drawable.Drawable drawable)
@Beta(year=2019, month=12) void setCoordinates(@NonNull java.util.List<LatLng> coordinates)