LatLng

public final data class LatLng


An object that represents a latitude/longitude pair.

Summary

Public fields

final double

The latitude in degrees.

final double

The longitude in degrees.

Public constructors

LatLng(double latitude, double longitude)

Public fields

latitude

public final double latitude

The latitude in degrees. It must be in the range -90.0, +90.0.

longitude

public final double longitude

The longitude in degrees. It must be in the range -180.0, +180.0.

Public constructors

LatLng

public LatLng(double latitude, double longitude)
Parameters
double latitude

The latitude in degrees. It must be in the range -90.0, +90.0.

double longitude

The longitude in degrees. It must be in the range -180.0, +180.0.