Camera Update
data class CameraUpdate @JvmOverloads constructor(val target: LatLng? = null, val bounds: LatLngBounds? = null, val bearing: Double = UNCHANGED, val tilt: Double = UNCHANGED, val zoom: Double = UNCHANGED, @Size(value = 4 ) val padding: DoubleArray? = DoubleArray(4)) : CameraUpdate
Data class to specify what changes should be applied to the camera through com.woosmap.sdk.MapView.easeCamera or com.woosmap.sdk.MapView.moveCamera.
Only the specified properties will be changed.
This requires either a target or a bound.
Throws
if instanced with neither target nor bounds.
Constructors
Link copied to clipboard
constructor(target: LatLng? = null, bounds: LatLngBounds? = null, bearing: Double = UNCHANGED, tilt: Double = UNCHANGED, zoom: Double = UNCHANGED, @Size(value = 4 ) padding: DoubleArray? = DoubleArray(4))