Add JSDoc for lat and lng properties.
This commit is contained in:
parent
7a02c0935b
commit
affe3cd943
|
@ -138,7 +138,14 @@ function GeoPoint(data) {
|
|||
assert(data.lat <= 90, 'lat must be <= 90');
|
||||
assert(data.lat >= -90, 'lat must be >= -90');
|
||||
|
||||
/**
|
||||
* @property {Number} lat The latitude point in degrees. Range: -90 to 90.
|
||||
*/
|
||||
this.lat = data.lat;
|
||||
|
||||
/**
|
||||
* @property {Number} lng The longitude point in degrees. Range: -90 to 90.
|
||||
*/
|
||||
this.lng = data.lng;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue