Place

class Place

Represents a geographical location and its details.

Constructors

Link copied to clipboard
constructor(coordinate: GeoPoint, name: String = "", address: Address? = null, entryPoints: List<EntryPoint> = emptyList())

Constructs a Place object with the given parameters.

Properties

Link copied to clipboard

The address of the place, if available.

Link copied to clipboard

The geographical coordinates of the place.

Link copied to clipboard

The list of entry points for the place.

Link copied to clipboard

The name of the place.

Functions

Link copied to clipboard

Returns the first component of this Place object, which is the geographical coordinates.

Link copied to clipboard

Returns the second component of this Place object, which is the name.

Link copied to clipboard

Returns the third component of this Place object, which is the address.

Link copied to clipboard

Returns the fourth component of this Place object, which is the list of entry points.

Link copied to clipboard
fun copy(coordinate: GeoPoint = this.coordinate, name: String = this.name, address: Address? = this.address, entryPoints: List<EntryPoint> = this.entryPoints): Place

Creates a copy of this Place object with optional parameter overrides.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Checks if this Place object is equal to another object.

Link copied to clipboard
open override fun hashCode(): Int

Generates a hash code for this Place object.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of this Place object.