We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f950eea + 1e12ea5 commit 8576deaCopy full SHA for 8576dea
1 file changed
src/GeoLocationForPhoneGap/widget/GeoLocationForPhoneGap.js
@@ -78,8 +78,8 @@ define([
78
},
79
80
_geolocationSuccess: function(position) {
81
- this._obj.set(this.latAttr, position.coords.latitude);
82
- this._obj.set(this.longAttr, position.coords.longitude);
+ this._obj.set(this.latAttr, +position.coords.latitude.toFixed(8));
+ this._obj.set(this.longAttr, +position.coords.longitude.toFixed(8));
83
this._executeMicroflow();
84
85
0 commit comments