diff --git a/lib/geo.js b/lib/geo.js index 30d6931d..1dac1abd 100644 --- a/lib/geo.js +++ b/lib/geo.js @@ -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; }