com.google.android.gms.maps3d.model

Classes

Camera

Camera class to represent the camera view in a 3D map.

CameraRestriction

Defines the restrictions that can be applied to a camera.

FlyAroundOptions

Represents the camera preset, fly around, in a 3D map.

FlyToOptions

Represents the camera preset, fly to, in a 3D map.

Hole

A hole in a polygon defined by a list of vertices.

LatLngAltitude

A latitude/longitude pair with an altitude value.

LatLngBounds

Represents a rectangle in geographical coordinates, including one that crosses the 180 degrees longitudinal meridian.

Marker

A representation of a marker object in a 3D map.

MarkerOptions

Defines options for a 3D marker.

Model

Model object class to represent a 3D model object within a 3D map scene.

ModelOptions

Model options class to represent the options for a 3D model object within a 3D map scene.

Orientation

A representation of a rotation transformation with three degrees of freedom.

Polygon

A representation of a polygon object in a 3D map.

PolygonOptions

A representation of a polygon object in a 3D map.

Polyline

A representation of a polyline object in a 3D map.

PolylineOptions

A representation of a polyline object in a 3D map.

Vector3D

A three-dimensional real vector.

Annotations

AltitudeMode

Enumeration of possible altitude modes: absolute, relative to ground, relative to mesh, or clamped to ground.

CollisionBehavior

Enumeration of possible collision behaviors: required, optional, or optional and hides lower priority.

FacingMode

Enumeration of possible facing modes: screen or billboard.

Map3DMode

Determines the mode of the 3D map view.

Top-level functions summary

Camera
camera(builderAction: Camera.() -> Unit)

DSL function for building a Camera.

CameraRestriction

DSL function for building a CameraRestriction.

FlyAroundOptions
flyAroundOptions(builderAction: FlyAroundOptions.() -> Unit)

DSL function for building a FlyAroundOptions.

FlyToOptions
flyToOptions(builderAction: FlyToOptions.() -> Unit)

DSL function for building a FlyToOptions.

Hole
hole(builderAction: Hole.() -> Unit)

DSL function for building a Hole.

LatLngAltitude
latLngAltitude(builderAction: LatLngAltitude.() -> Unit)

DSL function for building a LatLngAltitude.

LatLngBounds
latLngBounds(builderAction: LatLngBounds.() -> Unit)

DSL function for building a LatLngBounds.

MarkerOptions
markerOptions(builderAction: MarkerOptions.() -> Unit)

DSL function for building a MarkerOptions.

ModelOptions
modelOptions(builderAction: ModelOptions.() -> Unit)

DSL function for building a ModelOptions.

Orientation
orientation(builderAction: Orientation.() -> Unit)

DSL function for building a Orientation.

PolygonOptions
polygonOptions(builderAction: PolygonOptions.() -> Unit)

DSL function for building a PolygonOptions.

PolylineOptions
polylineOptions(builderAction: PolylineOptions.() -> Unit)

DSL function for building a PolylineOptions.

Vector3D
vector3D(builderAction: Vector3D.() -> Unit)

DSL function for building a Vector3.

Top-level functions

camera

fun camera(builderAction: Camera.() -> Unit = {}): Camera

DSL function for building a Camera.

Parameters
builderAction: Camera.() -> Unit = {}

A lambda expression to configure the Camera.

Returns
Camera

A Camera instance.

cameraRestriction

fun cameraRestriction(builderAction: CameraRestriction.() -> Unit = {}): CameraRestriction

DSL function for building a CameraRestriction.

Parameters
builderAction: CameraRestriction.() -> Unit = {}

A lambda expression to configure the CameraRestriction.

Returns
CameraRestriction

A CameraRestriction instance.

flyAroundOptions

fun flyAroundOptions(builderAction: FlyAroundOptions.() -> Unit = {}): FlyAroundOptions

DSL function for building a FlyAroundOptions.

Parameters
builderAction: FlyAroundOptions.() -> Unit = {}

A lambda expression to configure the FlyAroundOptions.

Returns
FlyAroundOptions

A FlyAroundOptions instance.

flyToOptions

fun flyToOptions(builderAction: FlyToOptions.() -> Unit = {}): FlyToOptions

DSL function for building a FlyToOptions.

Parameters
builderAction: FlyToOptions.() -> Unit = {}

A lambda expression to configure the FlyToOptions.

Returns
FlyToOptions

A FlyToOptions instance.

hole

fun hole(builderAction: Hole.() -> Unit = {}): Hole

DSL function for building a Hole.

Parameters
builderAction: Hole.() -> Unit = {}

A lambda expression to configure the Hole.

Returns
Hole

A Hole instance.

latLngAltitude

fun latLngAltitude(builderAction: LatLngAltitude.() -> Unit): LatLngAltitude

DSL function for building a LatLngAltitude.

Parameters
builderAction: LatLngAltitude.() -> Unit

A lambda expression to configure the LatLngAltitude.

Returns
LatLngAltitude

A LatLngAltitude instance.

latLngBounds

fun latLngBounds(builderAction: LatLngBounds.() -> Unit = {}): LatLngBounds

DSL function for building a LatLngBounds.

Parameters
builderAction: LatLngBounds.() -> Unit = {}

A lambda expression to configure the LatLngBounds.

Returns
LatLngBounds

A LatLngBounds instance.

markerOptions

fun markerOptions(builderAction: MarkerOptions.() -> Unit = {}): MarkerOptions

DSL function for building a MarkerOptions.

Parameters
builderAction: MarkerOptions.() -> Unit = {}

A lambda expression to configure the MarkerOptions.

Returns
MarkerOptions

A MarkerOptions instance.

modelOptions

fun modelOptions(builderAction: ModelOptions.() -> Unit = {}): ModelOptions

DSL function for building a ModelOptions.

Parameters
builderAction: ModelOptions.() -> Unit = {}

A lambda expression to configure the ModelOptions.

Returns
ModelOptions

A ModelOptions instance.

orientation

fun orientation(builderAction: Orientation.() -> Unit = {}): Orientation

DSL function for building a Orientation.

Parameters
builderAction: Orientation.() -> Unit = {}

A lambda expression to configure the Orientation.

Returns
Orientation

A Orientation instance.

polygonOptions

fun polygonOptions(builderAction: PolygonOptions.() -> Unit = {}): PolygonOptions

DSL function for building a PolygonOptions.

Parameters
builderAction: PolygonOptions.() -> Unit = {}

A lambda expression to configure the PolygonOptions.

Returns
PolygonOptions

A PolygonOptions instance.

polylineOptions

fun polylineOptions(builderAction: PolylineOptions.() -> Unit = {}): PolylineOptions

DSL function for building a PolylineOptions.

Parameters
builderAction: PolylineOptions.() -> Unit = {}

A lambda expression to configure the PolylineOptions.

Returns
PolylineOptions

A PolylineOptions instance.

vector3D

fun vector3D(builderAction: Vector3D.() -> Unit = {}): Vector3D

DSL function for building a Vector3.

Parameters
builderAction: Vector3D.() -> Unit = {}

A lambda expression to configure the Vector3.

Returns
Vector3D

A Vector3 instance.