|
@@ -80182,6 +80182,13 @@ and limitations under the License.
|
|
(t.prototype.location = function (e) {
|
|
(t.prototype.location = function (e) {
|
|
if (this.filter.lon) throw new Error('location method can only be called once');
|
|
if (this.filter.lon) throw new Error('location method can only be called once');
|
|
var n = e.toArray();
|
|
var n = e.toArray();
|
|
|
|
+
|
|
|
|
+ if(typeof(n[0])=="string"){
|
|
|
|
+ n[0] = parseFloat(n[0])
|
|
|
|
+ }
|
|
|
|
+ if(typeof(n[1])=="string"){
|
|
|
|
+ n[1] = parseFloat(n[1])
|
|
|
|
+ }
|
|
console.log('n[0]',n)
|
|
console.log('n[0]',n)
|
|
console.log('n[0].typeof',typeof(n[0]))
|
|
console.log('n[0].typeof',typeof(n[0]))
|
|
return (
|
|
return (
|