@Beta(2020, 12) interface ImageSource : Source
An interface that represents the image source.
abstract fun setCoordinates(coordinates: MutableList<LatLng!>): Unit
Sets the image coordinates (the latitude and longitude of the four corners of the image). |
|
abstract fun setImage(bitmap: Bitmap): Unit
Updates the source image to a bitmap. abstract fun setImage(drawable: Drawable): Unit
Updates the source image to a bitmap obtained from drawable. |
|
abstract fun setUrl(url: String): Unit
Sets the URL of image for the source. |
abstract fun getId(): String
Returns the ID (a human-readable name) of the source. |