PlusCode

public abstract class PlusCode implements Parcelable


Plus Code, or Open Location Code (OLC), is a geocode system for identifying any geographical area on Earth, even when a street address does not exist.

Summary

Nested types

public abstract class PlusCode.Builder

Builder for PlusCode.

Public constructors

Public methods

static PlusCode.Builder

Returns a Builder

abstract @Nullable String

Returns the compound plus code, e.g. "9G8F+5W Zurich, Switzerland".

abstract @Nullable String

Returns the geo plus code, e.g. "8FVC9G8F+5W".

Inherited Constants

From android.os.Parcelable
static final int
static final int
static final int
static final int

Inherited methods

From android.os.Parcelable
abstract int
int
abstract void
writeToParcel(Parcel p, int p1)

Public constructors

PlusCode

public PlusCode()

Public methods

builder

public static PlusCode.Builder builder()

Returns a Builder

getCompoundCode

public abstract @Nullable String getCompoundCode()

Returns the compound plus code, e.g. "9G8F+5W Zurich, Switzerland".

getGlobalCode

public abstract @Nullable String getGlobalCode()

Returns the geo plus code, e.g. "8FVC9G8F+5W".