Additional formatting

This commit is contained in:
Simo Moujami 2014-12-10 19:38:39 -05:00
parent beaa97f6f4
commit 8ba0c3f87d
1 changed files with 0 additions and 2 deletions

View File

@ -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.