Reference documentation and code samples for the Google API Common Protos Client class LatLng.
An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this must conform to the WGS84 standard . Values must be within normalized ranges.
Generated from protobuf message google.type.LatLng
Namespace
Google \ TypeMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ latitude
float
The latitude in degrees. It must be in the range [-90.0, +90.0].
↳ longitude
float
The longitude in degrees. It must be in the range [-180.0, +180.0].
getLatitude
The latitude in degrees. It must be in the range [-90.0, +90.0].
float
setLatitude
The latitude in degrees. It must be in the range [-90.0, +90.0].
var
float
$this
getLongitude
The longitude in degrees. It must be in the range [-180.0, +180.0].
float
setLongitude
The longitude in degrees. It must be in the range [-180.0, +180.0].
var
float
$this