Builder

open class Builder

Constructors

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

Functions

build
Link copied to clipboard
open fun build(): CameraState
replace
Link copied to clipboard
open fun replace(newState: CameraState): CameraState.Builder
setLocalRotation
Link copied to clipboard
open fun setLocalRotation(@NonNull angles: Point3F): CameraState.Builder
open fun setLocalRotation(@NonNull angles: Point3F, @NonNull animation: MapAnimation): CameraState.Builder
setLocalTranslation
Link copied to clipboard
open fun setLocalTranslation(@NonNull offset: Point3F): CameraState.Builder
open fun setLocalTranslation(@NonNull offset: Point3F, @NonNull animation: MapAnimation): CameraState.Builder
setMapCenterSettings
Link copied to clipboard
open fun setMapCenterSettings(@NonNull mapCenterSettings: MapCenterSettings): CameraState.Builder
open fun setMapCenterSettings(@NonNull mapCenterSettings: MapCenterSettings, @NonNull animation: MapAnimation): CameraState.Builder
setMapPadding
Link copied to clipboard
open fun setMapPadding(@NonNull rect: RectF): CameraState.Builder
open fun setMapPadding(@NonNull rect: RectF, @NonNull animation: MapAnimation): CameraState.Builder
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
setMapRectangle
Link copied to clipboard
open fun setMapRectangle(@NonNull mapRectangle: MapRectangle): CameraState.Builder
open fun setMapRectangle(@NonNull mapRectangle: MapRectangle, @NonNull animation: MapAnimation): CameraState.Builder
open fun setMapRectangle(@NonNull boundingBox: GeoBoundingBox, @FloatRange(from = 0.0, to = 1.0leftMarginPerc: Float, @FloatRange(from = 0.0, to = 1.0topMarginPerc: Float, @FloatRange(from = 0.0, to = 1.0rightMarginPerc: Float, @FloatRange(from = 0.0, to = 1.0bottomMarginPerc: 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.0leftMarginPerc: Float, @FloatRange(from = 0.0, to = 1.0topMarginPerc: Float, @FloatRange(from = 0.0, to = 1.0rightMarginPerc: Float, @FloatRange(from = 0.0, to = 1.0bottomMarginPerc: 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
setMovementMode
Link copied to clipboard
open fun setMovementMode(movementMode: Int): CameraState.Builder
setPosition
Link copied to clipboard
open fun setPosition(@NonNull position: GeoCoordinates): CameraState.Builder
open fun setPosition(@NonNull position: GeoCoordinates, @NonNull animation: MapAnimation): CameraState.Builder
setPositionOrientation
Link copied to clipboard
open fun setPositionOrientation(@NonNull posOrient: CameraState.PositionOrientation): CameraState.Builder
open fun setPositionOrientation(@NonNull posOrient: CameraState.PositionOrientation, @NonNull animation: MapAnimation): CameraState.Builder
setRotation
Link copied to clipboard
open fun setRotation(@FloatRange(from = "-180.0", to = 180.0rotation: Float): CameraState.Builder
open fun setRotation(@FloatRange(from = "-180.0", to = 180.0rotation: Float, @NonNull animation: MapAnimation): CameraState.Builder
setRotationMode
Link copied to clipboard
open fun setRotationMode(rotationMode: Int): CameraState.Builder
setTilt
Link copied to clipboard
open fun setTilt(@FloatRange(from = 0, to = 90tilt: Float): CameraState.Builder
open fun setTilt(@FloatRange(from = 0, to = 90tilt: Float, @NonNull animation: MapAnimation): CameraState.Builder
setZoomLevel
Link copied to clipboard
open fun setZoomLevel(@FloatRange(from = 0, to = Float.MAX_VALUEzoom: Float): CameraState.Builder
open fun setZoomLevel(@FloatRange(from = 0, to = Float.MAX_VALUEzoom: Float, @NonNull animation: MapAnimation): CameraState.Builder