Skip to content

Commit eb9a40f

Browse files
committed
fix UT, review by caoxinke.
1 parent 29f8d54 commit eb9a40f

14 files changed

+44
-47
lines changed

dist/iclient-classic.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12591,7 +12591,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
1259112591
}
1259212592

1259312593
function Promise(fn) {
12594-
if (!(this instanceof Promise)) throw new TypeError('Promises must be constructed via new');
12594+
if (_typeof(this) !== 'object') throw new TypeError('Promises must be constructed via new');
1259512595
if (typeof fn !== 'function') throw new TypeError('not a function');
1259612596
this._state = 0;
1259712597
this._handled = false;
@@ -12715,9 +12715,9 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
1271512715
};
1271612716

1271712717
Promise.all = function (arr) {
12718+
var args = Array.prototype.slice.call(arr);
12719+
1271812720
return new Promise(function (resolve, reject) {
12719-
if (!arr || typeof arr.length === 'undefined') throw new TypeError('Promise.all accepts an array');
12720-
var args = Array.prototype.slice.call(arr);
1272112721
if (args.length === 0) return resolve([]);
1272212722
var remaining = args.length;
1272312723

dist/iclient-classic.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/iclient9-leaflet.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3994,7 +3994,7 @@ var SpatialAnalystBase = exports.SpatialAnalystBase = function (_CommonServiceBa
39943994
return null;
39953995
}
39963996
//批量叠加分析时结果这样处理
3997-
if (result.result) {
3997+
if (result.result && result.result.resultGeometry) {
39983998
result = result.result;
39993999
}
40004000
var geoJSONFormat = new _GeoJSON.GeoJSON();
@@ -21542,16 +21542,16 @@ var GeometryOverlayAnalystParameters = exports.GeometryOverlayAnalystParameters
2154221542

2154321543
var _this = _possibleConstructorReturn(this, (GeometryOverlayAnalystParameters.__proto__ || Object.getPrototypeOf(GeometryOverlayAnalystParameters)).call(this, options));
2154421544

21545-
if (options.operateGeometry) {
21545+
if (options && options.operateGeometry) {
2154621546
_this.operateGeometry = options.operateGeometry;
2154721547
}
21548-
if (options.sourceGeometry) {
21548+
if (options && options.sourceGeometry) {
2154921549
_this.sourceGeometry = options.sourceGeometry;
2155021550
}
21551-
if (options.operateGeometries) {
21551+
if (options && options.operateGeometries) {
2155221552
_this.operateGeometries = options.operateGeometries;
2155321553
}
21554-
if (options.sourceGeometries) {
21554+
if (options && options.sourceGeometries) {
2155521555
_this.sourceGeometries = options.sourceGeometries;
2155621556
}
2155721557

@@ -55519,7 +55519,7 @@ var ThemeLayer = exports.ThemeLayer = _leaflet2["default"].Layer.extend({
5551955519
initialize: function initialize(name, options) {
5552055520
_leaflet2["default"].Util.setOptions(this, options);
5552155521
this.name = name;
55522-
this.id = options.id ? options.id : _iclientCommon.CommonUtil.createUniqueID("themeLayer_");
55522+
this.id = options && options.id ? options.id : _iclientCommon.CommonUtil.createUniqueID("themeLayer_");
5552355523
this.features = [];
5552455524
this.TFEvents = options && options.TFEvents ? options.TFEvents : [];
5552555525
this.levelRenderer = new _iclientCommon.LevelRenderer();
@@ -94191,7 +94191,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
9419194191
}
9419294192

9419394193
function Promise(fn) {
94194-
if (!(this instanceof Promise)) throw new TypeError('Promises must be constructed via new');
94194+
if (_typeof(this) !== 'object') throw new TypeError('Promises must be constructed via new');
9419594195
if (typeof fn !== 'function') throw new TypeError('not a function');
9419694196
this._state = 0;
9419794197
this._handled = false;
@@ -94315,9 +94315,9 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
9431594315
};
9431694316

9431794317
Promise.all = function (arr) {
94318+
var args = Array.prototype.slice.call(arr);
94319+
9431894320
return new Promise(function (resolve, reject) {
94319-
if (!arr || typeof arr.length === 'undefined') throw new TypeError('Promise.all accepts an array');
94320-
var args = Array.prototype.slice.call(arr);
9432194321
if (args.length === 0) return resolve([]);
9432294322
var remaining = args.length;
9432394323

@@ -94613,7 +94613,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
9461394613
/* 501 */
9461494614
/***/ (function(module, exports) {
9461594615

94616-
module.exports = {"_args":[["proj4@2.3.15","G:\\iClient9"]],"_from":"proj4@2.3.15","_id":"proj4@2.3.15","_inBundle":false,"_integrity":"sha1-WtBui8owvg/6OJpJ5FZfUfBtCJ4=","_location":"/proj4","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"proj4@2.3.15","name":"proj4","escapedName":"proj4","rawSpec":"2.3.15","saveSpec":null,"fetchSpec":"2.3.15"},"_requiredBy":["/"],"_resolved":"http://registry.npm.taobao.org/proj4/download/proj4-2.3.15.tgz","_spec":"2.3.15","_where":"G:\\iClient9","author":"","bugs":{"url":"https://github.com/proj4js/proj4js/issues"},"contributors":[{"name":"Mike Adair","email":"madair@dmsolutions.ca"},{"name":"Richard Greenwood","email":"rich@greenwoodmap.com"},{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},{"name":"Richard Marsden","url":"http://www.winwaed.com"},{"name":"T. Mittan"},{"name":"D. Steinwand"},{"name":"S. Nelson"}],"dependencies":{"mgrs":"~0.0.2"},"description":"Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.","devDependencies":{"browserify":"~12.0.1","chai":"~1.8.1","curl":"git://github.com/cujojs/curl.git","grunt":"~0.4.2","grunt-browserify":"~4.0.1","grunt-cli":"~0.1.13","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"~0.11.1","grunt-mocha-phantomjs":"~0.4.0","istanbul":"~0.2.4","mocha":"~1.17.1","tin":"~0.4.0"},"directories":{"test":"test","doc":"docs"},"homepage":"https://github.com/proj4js/proj4js#readme","jam":{"main":"dist/proj4.js","include":["dist/proj4.js","README.md","AUTHORS","LICENSE.md"]},"license":"MIT","main":"lib/index.js","name":"proj4","repository":{"type":"git","url":"git://github.com/proj4js/proj4js.git"},"scripts":{"test":"./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js"},"version":"2.3.15"}
94616+
module.exports = {"_args":[[{"raw":"proj4@2.3.15","scope":null,"escapedName":"proj4","name":"proj4","rawSpec":"2.3.15","spec":"2.3.15","type":"version"},"G:\\iClient9"]],"_from":"proj4@2.3.15","_id":"proj4@2.3.15","_inCache":true,"_location":"/proj4","_nodeVersion":"6.1.0","_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/proj4-2.3.15.tgz_1471808262546_0.6752060337457806"},"_npmUser":{"name":"ahocevar","email":"andreas.hocevar@gmail.com"},"_npmVersion":"3.8.6","_phantomChildren":{},"_requested":{"raw":"proj4@2.3.15","scope":null,"escapedName":"proj4","name":"proj4","rawSpec":"2.3.15","spec":"2.3.15","type":"version"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/proj4/-/proj4-2.3.15.tgz","_shasum":"5ad06e8bca30be0ffa389a49e4565f51f06d089e","_shrinkwrap":null,"_spec":"proj4@2.3.15","_where":"G:\\iClient9","author":"","bugs":{"url":"https://github.com/proj4js/proj4js/issues"},"contributors":[{"name":"Mike Adair","email":"madair@dmsolutions.ca"},{"name":"Richard Greenwood","email":"rich@greenwoodmap.com"},{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},{"name":"Richard Marsden","url":"http://www.winwaed.com"},{"name":"T. Mittan"},{"name":"D. Steinwand"},{"name":"S. Nelson"}],"dependencies":{"mgrs":"~0.0.2"},"description":"Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.","devDependencies":{"browserify":"~12.0.1","chai":"~1.8.1","curl":"git://github.com/cujojs/curl.git","grunt":"~0.4.2","grunt-browserify":"~4.0.1","grunt-cli":"~0.1.13","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"~0.11.1","grunt-mocha-phantomjs":"~0.4.0","istanbul":"~0.2.4","mocha":"~1.17.1","tin":"~0.4.0"},"directories":{"test":"test","doc":"docs"},"dist":{"shasum":"5ad06e8bca30be0ffa389a49e4565f51f06d089e","tarball":"https://registry.npmjs.org/proj4/-/proj4-2.3.15.tgz"},"gitHead":"9fa5249c1f4183d5ddee3c4793dfd7b9f29f1886","homepage":"https://github.com/proj4js/proj4js#readme","jam":{"main":"dist/proj4.js","include":["dist/proj4.js","README.md","AUTHORS","LICENSE.md"]},"license":"MIT","main":"lib/index.js","maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"},{"name":"ahocevar","email":"andreas.hocevar@gmail.com"}],"name":"proj4","optionalDependencies":{},"readme":"ERROR: No README data found!","repository":{"type":"git","url":"git://github.com/proj4js/proj4js.git"},"scripts":{"test":"./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js"},"version":"2.3.15"}
9461794617

9461894618
/***/ }),
9461994619
/* 502 */

dist/iclient9-leaflet.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/iclient9-mapboxgl.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3964,7 +3964,7 @@ var SpatialAnalystBase = exports.SpatialAnalystBase = function (_CommonServiceBa
39643964
return null;
39653965
}
39663966
//批量叠加分析时结果这样处理
3967-
if (result.result) {
3967+
if (result.result && result.result.resultGeometry) {
39683968
result = result.result;
39693969
}
39703970
var geoJSONFormat = new _GeoJSON.GeoJSON();
@@ -21056,16 +21056,16 @@ var GeometryOverlayAnalystParameters = exports.GeometryOverlayAnalystParameters
2105621056

2105721057
var _this = _possibleConstructorReturn(this, (GeometryOverlayAnalystParameters.__proto__ || Object.getPrototypeOf(GeometryOverlayAnalystParameters)).call(this, options));
2105821058

21059-
if (options.operateGeometry) {
21059+
if (options && options.operateGeometry) {
2106021060
_this.operateGeometry = options.operateGeometry;
2106121061
}
21062-
if (options.sourceGeometry) {
21062+
if (options && options.sourceGeometry) {
2106321063
_this.sourceGeometry = options.sourceGeometry;
2106421064
}
21065-
if (options.operateGeometries) {
21065+
if (options && options.operateGeometries) {
2106621066
_this.operateGeometries = options.operateGeometries;
2106721067
}
21068-
if (options.sourceGeometries) {
21068+
if (options && options.sourceGeometries) {
2106921069
_this.sourceGeometries = options.sourceGeometries;
2107021070
}
2107121071

@@ -80993,7 +80993,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
8099380993
}
8099480994

8099580995
function Promise(fn) {
80996-
if (!(this instanceof Promise)) throw new TypeError('Promises must be constructed via new');
80996+
if (_typeof(this) !== 'object') throw new TypeError('Promises must be constructed via new');
8099780997
if (typeof fn !== 'function') throw new TypeError('not a function');
8099880998
this._state = 0;
8099980999
this._handled = false;
@@ -81117,9 +81117,9 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
8111781117
};
8111881118

8111981119
Promise.all = function (arr) {
81120+
var args = Array.prototype.slice.call(arr);
81121+
8112081122
return new Promise(function (resolve, reject) {
81121-
if (!arr || typeof arr.length === 'undefined') throw new TypeError('Promise.all accepts an array');
81122-
var args = Array.prototype.slice.call(arr);
8112381123
if (args.length === 0) return resolve([]);
8112481124
var remaining = args.length;
8112581125

dist/iclient9-mapboxgl.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/iclient9-openlayers.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4271,7 +4271,7 @@ var SpatialAnalystBase = exports.SpatialAnalystBase = function (_CommonServiceBa
42714271
return null;
42724272
}
42734273
//批量叠加分析时结果这样处理
4274-
if (result.result) {
4274+
if (result.result && result.result.resultGeometry) {
42754275
result = result.result;
42764276
}
42774277
var geoJSONFormat = new _GeoJSON.GeoJSON();
@@ -21376,16 +21376,16 @@ var GeometryOverlayAnalystParameters = exports.GeometryOverlayAnalystParameters
2137621376

2137721377
var _this = _possibleConstructorReturn(this, (GeometryOverlayAnalystParameters.__proto__ || Object.getPrototypeOf(GeometryOverlayAnalystParameters)).call(this, options));
2137821378

21379-
if (options.operateGeometry) {
21379+
if (options && options.operateGeometry) {
2138021380
_this.operateGeometry = options.operateGeometry;
2138121381
}
21382-
if (options.sourceGeometry) {
21382+
if (options && options.sourceGeometry) {
2138321383
_this.sourceGeometry = options.sourceGeometry;
2138421384
}
21385-
if (options.operateGeometries) {
21385+
if (options && options.operateGeometries) {
2138621386
_this.operateGeometries = options.operateGeometries;
2138721387
}
21388-
if (options.sourceGeometries) {
21388+
if (options && options.sourceGeometries) {
2138921389
_this.sourceGeometries = options.sourceGeometries;
2139021390
}
2139121391

@@ -91696,7 +91696,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
9169691696
}
9169791697

9169891698
function Promise(fn) {
91699-
if (!(this instanceof Promise)) throw new TypeError('Promises must be constructed via new');
91699+
if (_typeof(this) !== 'object') throw new TypeError('Promises must be constructed via new');
9170091700
if (typeof fn !== 'function') throw new TypeError('not a function');
9170191701
this._state = 0;
9170291702
this._handled = false;
@@ -91820,9 +91820,9 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
9182091820
};
9182191821

9182291822
Promise.all = function (arr) {
91823+
var args = Array.prototype.slice.call(arr);
91824+
9182391825
return new Promise(function (resolve, reject) {
91824-
if (!arr || typeof arr.length === 'undefined') throw new TypeError('Promise.all accepts an array');
91825-
var args = Array.prototype.slice.call(arr);
9182691826
if (args.length === 0) return resolve([]);
9182791827
var remaining = args.length;
9182891828

@@ -92116,7 +92116,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
9211692116
/* 473 */
9211792117
/***/ (function(module, exports) {
9211892118

92119-
module.exports = {"_args":[["proj4@2.3.15","G:\\iClient9"]],"_from":"proj4@2.3.15","_id":"proj4@2.3.15","_inBundle":false,"_integrity":"sha1-WtBui8owvg/6OJpJ5FZfUfBtCJ4=","_location":"/proj4","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"proj4@2.3.15","name":"proj4","escapedName":"proj4","rawSpec":"2.3.15","saveSpec":null,"fetchSpec":"2.3.15"},"_requiredBy":["/"],"_resolved":"http://registry.npm.taobao.org/proj4/download/proj4-2.3.15.tgz","_spec":"2.3.15","_where":"G:\\iClient9","author":"","bugs":{"url":"https://github.com/proj4js/proj4js/issues"},"contributors":[{"name":"Mike Adair","email":"madair@dmsolutions.ca"},{"name":"Richard Greenwood","email":"rich@greenwoodmap.com"},{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},{"name":"Richard Marsden","url":"http://www.winwaed.com"},{"name":"T. Mittan"},{"name":"D. Steinwand"},{"name":"S. Nelson"}],"dependencies":{"mgrs":"~0.0.2"},"description":"Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.","devDependencies":{"browserify":"~12.0.1","chai":"~1.8.1","curl":"git://github.com/cujojs/curl.git","grunt":"~0.4.2","grunt-browserify":"~4.0.1","grunt-cli":"~0.1.13","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"~0.11.1","grunt-mocha-phantomjs":"~0.4.0","istanbul":"~0.2.4","mocha":"~1.17.1","tin":"~0.4.0"},"directories":{"test":"test","doc":"docs"},"homepage":"https://github.com/proj4js/proj4js#readme","jam":{"main":"dist/proj4.js","include":["dist/proj4.js","README.md","AUTHORS","LICENSE.md"]},"license":"MIT","main":"lib/index.js","name":"proj4","repository":{"type":"git","url":"git://github.com/proj4js/proj4js.git"},"scripts":{"test":"./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js"},"version":"2.3.15"}
92119+
module.exports = {"_args":[[{"raw":"proj4@2.3.15","scope":null,"escapedName":"proj4","name":"proj4","rawSpec":"2.3.15","spec":"2.3.15","type":"version"},"G:\\iClient9"]],"_from":"proj4@2.3.15","_id":"proj4@2.3.15","_inCache":true,"_location":"/proj4","_nodeVersion":"6.1.0","_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/proj4-2.3.15.tgz_1471808262546_0.6752060337457806"},"_npmUser":{"name":"ahocevar","email":"andreas.hocevar@gmail.com"},"_npmVersion":"3.8.6","_phantomChildren":{},"_requested":{"raw":"proj4@2.3.15","scope":null,"escapedName":"proj4","name":"proj4","rawSpec":"2.3.15","spec":"2.3.15","type":"version"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/proj4/-/proj4-2.3.15.tgz","_shasum":"5ad06e8bca30be0ffa389a49e4565f51f06d089e","_shrinkwrap":null,"_spec":"proj4@2.3.15","_where":"G:\\iClient9","author":"","bugs":{"url":"https://github.com/proj4js/proj4js/issues"},"contributors":[{"name":"Mike Adair","email":"madair@dmsolutions.ca"},{"name":"Richard Greenwood","email":"rich@greenwoodmap.com"},{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},{"name":"Richard Marsden","url":"http://www.winwaed.com"},{"name":"T. Mittan"},{"name":"D. Steinwand"},{"name":"S. Nelson"}],"dependencies":{"mgrs":"~0.0.2"},"description":"Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.","devDependencies":{"browserify":"~12.0.1","chai":"~1.8.1","curl":"git://github.com/cujojs/curl.git","grunt":"~0.4.2","grunt-browserify":"~4.0.1","grunt-cli":"~0.1.13","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"~0.11.1","grunt-mocha-phantomjs":"~0.4.0","istanbul":"~0.2.4","mocha":"~1.17.1","tin":"~0.4.0"},"directories":{"test":"test","doc":"docs"},"dist":{"shasum":"5ad06e8bca30be0ffa389a49e4565f51f06d089e","tarball":"https://registry.npmjs.org/proj4/-/proj4-2.3.15.tgz"},"gitHead":"9fa5249c1f4183d5ddee3c4793dfd7b9f29f1886","homepage":"https://github.com/proj4js/proj4js#readme","jam":{"main":"dist/proj4.js","include":["dist/proj4.js","README.md","AUTHORS","LICENSE.md"]},"license":"MIT","main":"lib/index.js","maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"},{"name":"ahocevar","email":"andreas.hocevar@gmail.com"}],"name":"proj4","optionalDependencies":{},"readme":"ERROR: No README data found!","repository":{"type":"git","url":"git://github.com/proj4js/proj4js.git"},"scripts":{"test":"./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js"},"version":"2.3.15"}
9212092120

9212192121
/***/ }),
9212292122
/* 474 */

dist/iclient9-openlayers.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/common/iServer/GeometryOverlayAnalystParameters.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,16 @@ export class GeometryOverlayAnalystParameters extends OverlayAnalystParameters {
3232

3333
constructor(options) {
3434
super(options);
35-
36-
if (options.operateGeometry) {
35+
if (options && options.operateGeometry) {
3736
this.operateGeometry = options.operateGeometry;
3837
}
39-
if (options.sourceGeometry) {
38+
if (options && options.sourceGeometry) {
4039
this.sourceGeometry = options.sourceGeometry;
4140
}
42-
if (options.operateGeometries) {
41+
if (options && options.operateGeometries) {
4342
this.operateGeometries = options.operateGeometries;
4443
}
45-
if (options.sourceGeometries) {
44+
if (options && options.sourceGeometries) {
4645
this.sourceGeometries = options.sourceGeometries;
4746
}
4847

src/common/iServer/SpatialAnalystBase.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import {GeoJSON} from '../format/GeoJSON';
1313
*/
1414
export class SpatialAnalystBase extends CommonServiceBase {
1515

16-
1716
constructor(url, options) {
1817
super(url, options);
1918
/**
@@ -33,7 +32,6 @@ export class SpatialAnalystBase extends CommonServiceBase {
3332
this.format = null;
3433
}
3534

36-
3735
/**
3836
* @function SuperMap.SpatialAnalystBase.prototype.serviceProcessCompleted
3937
* @description 分析完成,执行此方法。
@@ -71,7 +69,7 @@ export class SpatialAnalystBase extends CommonServiceBase {
7169
return null;
7270
}
7371
//批量叠加分析时结果这样处理
74-
if(result.result){
72+
if(result.result && result.result.resultGeometry){
7573
result = result.result
7674
}
7775
var geoJSONFormat = new GeoJSON();

0 commit comments

Comments
 (0)