Anchorable

public interface Anchorable

Known direct subclasses
LatLngAltitude

A latitude/longitude pair with an altitude value.

Marker

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


Implementations of this interface are guaranteed to provide a position LatLngAltitude that can be used as an anchor.

Summary

Public methods

abstract @NonNull LatLngAltitude

Extension functions

default final void

Validates a specified Anchorable object.

Public methods

getPosition

abstract @NonNull LatLngAltitude getPosition()

Extension functions

ValidatorsKt.validate

default final void ValidatorsKt.validate(@NonNull Anchorable receiver)

Validates a specified Anchorable object.

Throws
kotlin.IllegalArgumentException

if the Anchorable is not valid.