Skip to content
Permalink
Browse files

BF

  • Loading branch information...
uprel committed Feb 20, 2019
1 parent 636f436 commit f72e678d42e3286a8a789552ea8cad4e2bf030b0
Showing with 4 additions and 2 deletions.
  1. +1 −1 client/site/js/QGISExtensions.js
  2. +3 −1 client_mobile/src/config.js
@@ -1703,7 +1703,7 @@ QGIS.LocationService = Ext.extend(Ext.util.Observable, {
if(this.projection) {
loc = loc.clone().transform(authid, this.projection);
}
return loc.lon.toFixed(coordinatePrecision)+ ", " + this.location.lat.toFixed(coordinatePrecision);
return loc.lon.toFixed(coordinatePrecision)+ ", " + loc.lat.toFixed(coordinatePrecision);
},

locationToWgs: function () {
@@ -16,8 +16,10 @@ Config.parseExtentToArray = function(str){

Config.extractStringFromObject = function (objName, string) {

if (string.indexOf(objName)==-1) {
if (string && string.indexOf(objName)==-1) {
return string;
} else {
return null;
}

var ret = '';

0 comments on commit f72e678

Please sign in to comment.
You can’t perform that action at this time.