Builder

open class Builder

Constructors

Link copied to clipboard
open fun Builder()
Link copied to clipboard
open fun Builder(baseCameraState: CameraState)

Functions

Link copied to clipboard
open fun build(): CameraState
Link copied to clipboard
Link copied to clipboard
open fun setLocalRotation(@NonNull angles: Point3F): CameraState.Builder
open fun setLocalRotation(@NonNull angles: Point3F, @NonNull animation: MapAnimation): CameraState.Builder
Link copied to clipboard
open fun setLocalTranslation(@NonNull offset: Point3F): CameraState.Builder
open fun setLocalTranslation(@NonNull offset: Point3F, @NonNull animation: MapAnimation): CameraState.Builder
Link copied to clipboard
Link copied to clipboard
open fun setMapPadding(left: Float, top: Float, right: Float, bottom: Float): CameraState.Builder
open fun setMapPadding(left: Float, top: Float, right: Float, bottom: Float, @NonNull animation: MapAnimation): CameraState.Builder
Link copied to clipboard
open fun setMapRectangle(@NonNull boundingBox: GeoBoundingBox, @FloatRange(from = 0.0, to = 1.0) leftMarginPerc: Float, @FloatRange(from = 0.0, to = 1.0) topMarginPerc: Float, @FloatRange(from = 0.0, to = 1.0) rightMarginPerc: Float, @FloatRange(from = 0.0, to = 1.0) bottomMarginPerc: Float): CameraState.Builder
open fun setMapRectangle(@NonNull boundingBox: GeoBoundingBox, leftMarginPx: Int, topMarginPx: Int, rightMarginPx: Int, bottomMarginPx: Int): CameraState.Builder
open fun setMapRectangle(@NonNull boundingBox: GeoBoundingBox, @FloatRange(from = 0.0, to = 1.0) leftMarginPerc: Float, @FloatRange(from = 0.0, to = 1.0) topMarginPerc: Float, @FloatRange(from = 0.0, to = 1.0) rightMarginPerc: Float, @FloatRange(from = 0.0, to = 1.0) bottomMarginPerc: Float, @NonNull animation: MapAnimation): CameraState.Builder
open fun setMapRectangle(@NonNull boundingBox: GeoBoundingBox, leftMarginPx: Int, topMarginPx: Int, rightMarginPx: Int, bottomMarginPx: Int, @NonNull animation: MapAnimation): CameraState.Builder
Link copied to clipboard
open fun setMovementMode(movementMode: Int): CameraState.Builder
Link copied to clipboard
Link copied to clipboard
open fun setRotation(@FloatRange(from = "-180.0", to = 180.0) rotation: Float): CameraState.Builder
open fun setRotation(@FloatRange(from = "-180.0", to = 180.0) rotation: Float, @NonNull animation: MapAnimation): CameraState.Builder
Link copied to clipboard
open fun setRotationMode(rotationMode: Int): CameraState.Builder
Link copied to clipboard
open fun setTilt(@FloatRange(from = 0, to = 90) tilt: Float): CameraState.Builder
open fun setTilt(@FloatRange(from = 0, to = 90) tilt: Float, @NonNull animation: MapAnimation): CameraState.Builder
Link copied to clipboard
open fun setZoomLevel(@FloatRange(from = 0, to = Float.MAX_VALUE) zoom: Float, @NonNull animation: MapAnimation): CameraState.Builder