Camera Model
abstract class CameraModel : Camera.PositionChangedListener, Camera.ModeChangedListener
Content copied to clipboard
Functions
addModeChangedListener
Link copied to clipboard
addPositionChangedListener
Link copied to clipboard
getLocalRotation
Link copied to clipboard
getLocalTranslation
Link copied to clipboard
getMapCenter
Link copied to clipboard
getMapCenterSettings
Link copied to clipboard
getMapPadding
Link copied to clipboard
getMapRectangle
Link copied to clipboard
getMovementMode
Link copied to clipboard
getPosition
Link copied to clipboard
getRotation
Link copied to clipboard
getRotationMode
Link copied to clipboard
getZoomLevel
Link copied to clipboard
onMovementModeChanged
Link copied to clipboard
onPositionChangeCompleted
Link copied to clipboard
onPositionChanged
Link copied to clipboard
@CallSuper()
Content copied to clipboard
abstract fun onPositionChanged(geoCenter: GeoCoordinates, zoom: Float, rotation: Float, tilt: Float)
Content copied to clipboard
onRestoreInstance
Link copied to clipboard
onRotationModeChanged
Link copied to clipboard
onSaveInstance
Link copied to clipboard
abstract fun onSaveInstance(@Nullable() camera: Camera, @NonNull() outState: Bundle)
Content copied to clipboard
removeModeChangedListener
Link copied to clipboard
removePositionChangedListener
Link copied to clipboard
fun removePositionChangedListener(listener: Camera.PositionChangedListener)
Content copied to clipboard
Removes listener for Camera.PositionChangedListener methods.
setCameraState
Link copied to clipboard
setLocalRotation
Link copied to clipboard
abstract fun setLocalRotation(@NonNull() angles: Point3F, @NonNull() animation: MapAnimation)
Content copied to clipboard
setLocalTranslation
Link copied to clipboard
abstract fun setLocalTranslation(@NonNull() offset: Point3F, @NonNull() animation: MapAnimation)
Content copied to clipboard
setMapCenterSettings
Link copied to clipboard
abstract fun setMapCenterSettings(settings: MapCenterSettings, @NonNull() animation: MapAnimation)
Content copied to clipboard
setMapPadding
Link copied to clipboard
abstract fun setMapPadding(rect: RectF, @NonNull() animation: MapAnimation)
Content copied to clipboard
abstract fun setMapPadding(left: Float, top: Float, right: Float, bottom: Float, @NonNull() animation: MapAnimation)
Content copied to clipboard
setMapRectangle
Link copied to clipboard
abstract fun setMapRectangle(@NonNull() mapRectangle: MapRectangle, @NonNull() animation: MapAnimation)
Content copied to clipboard
fun setMapRectangle(@NonNull() boundingBox: GeoBoundingBox, leftMarginPerc: Float, topMarginPerc: Float, rightMarginPerc: Float, bottomMarginPerc: Float)
Content copied to clipboard
fun setMapRectangle(@NonNull() boundingBox: GeoBoundingBox, leftMarginPx: Int, topMarginPx: Int, rightMarginPx: Int, bottomMarginPx: Int)
Content copied to clipboard
abstract fun setMapRectangle(@NonNull() boundingBox: GeoBoundingBox, leftMarginPerc: Float, topMarginPerc: Float, rightMarginPerc: Float, bottomMarginPerc: Float, @NonNull() animation: MapAnimation)
Content copied to clipboard
abstract fun setMapRectangle(@NonNull() boundingBox: GeoBoundingBox, leftMarginPx: Int, topMarginPx: Int, rightMarginPx: Int, bottomMarginPx: Int, @NonNull() animation: MapAnimation)
Content copied to clipboard
abstract fun setMapRectangle(@NonNull() boundingBox: GeoBoundingBox, leftMarginPerc: Float, topMarginPerc: Float, rightMarginPerc: Float, bottomMarginPerc: Float, maxZoom: Float, @NonNull() animation: MapAnimation)
Content copied to clipboard
abstract fun setMapRectangle(@NonNull() boundingBox: GeoBoundingBox, leftMarginPx: Int, topMarginPx: Int, rightMarginPx: Int, bottomMarginPx: Int, maxZoom: Float, @NonNull() animation: MapAnimation)
Content copied to clipboard
setMovementMode
Link copied to clipboard
setPosition
Link copied to clipboard
abstract fun setPosition(@NonNull() position: GeoCoordinates, @NonNull() animation: MapAnimation)
Content copied to clipboard
Move camera to given position GeoCoordinates on the map with an animation.
setRotation
Link copied to clipboard
abstract fun setRotation(rotation: Float, @NonNull() animation: MapAnimation)
Content copied to clipboard
setRotationMode
Link copied to clipboard
setZoomLevel
Link copied to clipboard
abstract fun setZoomLevel(zoom: Float, @NonNull() animation: MapAnimation)
Content copied to clipboard
Inheritors
SimpleCameraDataModel
Link copied to clipboard