Package google.type

  • LatLng is a message object representing a latitude/longitude pair.

  • It is expressed as a pair of double values for latitude and longitude degrees.

  • LatLng must conform to the WGS84 standard and use normalized ranges.

  • Latitude must be between -90.0 and +90.0 degrees, and longitude between -180.0 and +180.0 degrees.

Index

LatLng

An object representing a latitude/longitude pair. This is expressed as a pair of doubles representing degrees latitude and degrees longitude. Unless specified otherwise, this must conform to the WGS84 standard. Values must be within normalized ranges.

Fields
latitude

double

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

longitude

double

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