Package google.type

  • LatLng is a message used to represent a location on the earth's surface using latitude and longitude coordinates.

  • Latitude and longitude values are expressed as doubles and should conform to the WGS84 standard.

  • Latitude must be within the range of -90.0 to +90.0 degrees, while longitude must be within the range of -180.0 to +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].