Additional formatting
This commit is contained in:
parent
beaa97f6f4
commit
8ba0c3f87d
|
@ -121,7 +121,6 @@ function GeoPoint(data) {
|
|||
|
||||
assert(typeof data === 'object' || typeof data === 'string', 'must provide valid geo-coordinates array [lat, lng] or object or a "lat, lng" string');
|
||||
|
||||
|
||||
if (typeof data === 'string') {
|
||||
data = data.split(/,\s*/);
|
||||
assert(data.length === 2, 'must provide a string "lat,lng" creating a GeoPoint with a string');
|
||||
|
@ -216,7 +215,6 @@ GeoPoint.prototype.toString = function () {
|
|||
};
|
||||
|
||||
/**
|
||||
* @property {Number} PI - Ratio of a circle's circumference to its diameter.
|
||||
* @property {Number} DEG2RAD - Factor to convert degrees to radians.
|
||||
* @property {Number} RAD2DEG - Factor to convert radians to degrees.
|
||||
* @property {Object} EARTH_RADIUS - Radius of the earth.
|
||||
|
|
Loading…
Reference in New Issue