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.

Link copied to clipboard

Functions

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.