74
74
/******/
75
75
/******/
76
76
/******/ // Load entry module and return exports
77
- /******/ return __webpack_require__(__webpack_require__.s = 19 );
77
+ /******/ return __webpack_require__(__webpack_require__.s = 18 );
78
78
/******/ })
79
79
/************************************************************************/
80
80
/******/ ([
@@ -125,22 +125,16 @@ module.exports = g;
125
125
/* 4 */
126
126
/***/ (function(module, exports) {
127
127
128
- module.exports = function(){try{return jsonsql}catch(e){return {}}}();
129
-
130
- /***/ }),
131
- /* 5 */
132
- /***/ (function(module, exports) {
133
-
134
128
module.exports = function(){try{return convert}catch(e){return {}}}();
135
129
136
130
/***/ }),
137
- /* 6 */
131
+ /* 5 */
138
132
/***/ (function(module, exports) {
139
133
140
134
module.exports = function(){try{return XLSX}catch(e){return {}}}();
141
135
142
136
/***/ }),
143
- /* 7 */
137
+ /* 6 */
144
138
/***/ (function(module, exports, __webpack_require__) {
145
139
146
140
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
@@ -248,19 +242,19 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
248
242
});
249
243
250
244
/***/ }),
251
- /* 8 */
245
+ /* 7 */
252
246
/***/ (function(module, exports) {
253
247
254
248
module.exports = function(){try{return canvg}catch(e){return {}}}();
255
249
256
250
/***/ }),
257
- /* 9 */
251
+ /* 8 */
258
252
/***/ (function(module, exports) {
259
253
260
254
module.exports = function(){try{return echarts}catch(e){return {}}}();
261
255
262
256
/***/ }),
263
- /* 10 */
257
+ /* 9 */
264
258
/***/ (function(module, exports, __webpack_require__) {
265
259
266
260
/* WEBPACK VAR INJECTION */(function(global) {/**
@@ -976,13 +970,13 @@ module.exports = toPairs;
976
970
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(3)))
977
971
978
972
/***/ }),
979
- /* 11 */
973
+ /* 10 */
980
974
/***/ (function(module, exports) {
981
975
982
976
module.exports = function(){try{return elasticsearch}catch(e){return {}}}();
983
977
984
978
/***/ }),
985
- /* 12 */
979
+ /* 11 */
986
980
/***/ (function(module, exports, __webpack_require__) {
987
981
988
982
/* WEBPACK VAR INJECTION */(function(setImmediate) {(function (root) {
@@ -1219,10 +1213,10 @@ module.exports = function(){try{return elasticsearch}catch(e){return {}}}();
1219
1213
1220
1214
})(this);
1221
1215
1222
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(18 ).setImmediate))
1216
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(17 ).setImmediate))
1223
1217
1224
1218
/***/ }),
1225
- /* 13 */
1219
+ /* 12 */
1226
1220
/***/ (function(module, __webpack_exports__, __webpack_require__) {
1227
1221
1228
1222
"use strict";
@@ -11748,7 +11742,7 @@ SuperMap.TimeFlowControl = TimeFlowControl_TimeFlowControl;
11748
11742
11749
11743
11750
11744
// EXTERNAL MODULE: ./node_modules/promise-polyfill/promise.js
11751
- var promise = __webpack_require__(12 );
11745
+ var promise = __webpack_require__(11 );
11752
11746
var promise_default = /*#__PURE__*/__webpack_require__.n(promise);
11753
11747
11754
11748
// CONCATENATED MODULE: ./src/common/util/PromisePolyfill.js
@@ -11759,10 +11753,10 @@ var promise_default = /*#__PURE__*/__webpack_require__.n(promise);
11759
11753
11760
11754
window.Promise = promise_default.a;
11761
11755
// EXTERNAL MODULE: ./node_modules/fetch-ie8/fetch.js
11762
- var fetch_ie8_fetch = __webpack_require__(15 );
11756
+ var fetch_ie8_fetch = __webpack_require__(14 );
11763
11757
11764
11758
// EXTERNAL MODULE: ./node_modules/fetch-jsonp/build/fetch-jsonp.js
11765
- var fetch_jsonp = __webpack_require__(7 );
11759
+ var fetch_jsonp = __webpack_require__(6 );
11766
11760
var fetch_jsonp_default = /*#__PURE__*/__webpack_require__.n(fetch_jsonp);
11767
11761
11768
11762
// CONCATENATED MODULE: ./src/common/util/FetchRequest.js
@@ -36582,7 +36576,7 @@ SuperMap.TokenServiceParameter = TokenServiceParameter_TokenServiceParameter;
36582
36576
36583
36577
36584
36578
// EXTERNAL MODULE: external "function(){try{return elasticsearch}catch(e){return {}}}()"
36585
- var external_function_try_return_elasticsearch_catch_e_return_ = __webpack_require__(11 );
36579
+ var external_function_try_return_elasticsearch_catch_e_return_ = __webpack_require__(10 );
36586
36580
var external_function_try_return_elasticsearch_catch_e_return_default = /*#__PURE__*/__webpack_require__.n(external_function_try_return_elasticsearch_catch_e_return_);
36587
36581
36588
36582
// CONCATENATED MODULE: ./src/common/thirdparty/elasticsearch/ElasticSearch.js
@@ -39011,7 +39005,7 @@ SuperMap.ArrayStatistic = ArrayStatistic_ArrayStatistic;
39011
39005
39012
39006
39013
39007
// EXTERNAL MODULE: ./node_modules/lodash.topairs/index.js
39014
- var lodash_topairs = __webpack_require__(10 );
39008
+ var lodash_topairs = __webpack_require__(9 );
39015
39009
var lodash_topairs_default = /*#__PURE__*/__webpack_require__.n(lodash_topairs);
39016
39010
39017
39011
// CONCATENATED MODULE: ./src/common/style/CartoCSS.js
@@ -61764,7 +61758,7 @@ class MessageBox_MessageBox {
61764
61758
61765
61759
SuperMap.Widgets.MessageBox = MessageBox_MessageBox;
61766
61760
// EXTERNAL MODULE: external "function(){try{return echarts}catch(e){return {}}}()"
61767
- var external_function_try_return_echarts_catch_e_return_ = __webpack_require__(9 );
61761
+ var external_function_try_return_echarts_catch_e_return_ = __webpack_require__(8 );
61768
61762
var external_function_try_return_echarts_catch_e_return_default = /*#__PURE__*/__webpack_require__.n(external_function_try_return_echarts_catch_e_return_);
61769
61763
61770
61764
// CONCATENATED MODULE: ./src/common/lang/Lang.js
@@ -61874,7 +61868,7 @@ SuperMap.Lang = Lang_Lang;
61874
61868
SuperMap.i18n = SuperMap.Lang.i18n;
61875
61869
61876
61870
// EXTERNAL MODULE: external "function(){try{return XLSX}catch(e){return {}}}()"
61877
- var external_function_try_return_XLSX_catch_e_return_ = __webpack_require__(6 );
61871
+ var external_function_try_return_XLSX_catch_e_return_ = __webpack_require__(5 );
61878
61872
var external_function_try_return_XLSX_catch_e_return_default = /*#__PURE__*/__webpack_require__.n(external_function_try_return_XLSX_catch_e_return_);
61879
61873
61880
61874
// CONCATENATED MODULE: ./src/common/widgets/util/FileReaderUtil.js
@@ -65535,7 +65529,6 @@ class core_Util_Util {
65535
65529
}
65536
65530
65537
65531
/**
65538
- * @function ol.supermap.Util.isMatchAdministrativeName
65539
65532
* @param {string} featureName 原始数据中的地名
65540
65533
* @param {string} fieldName 需要匹配的地名
65541
65534
* @returns {boolean} 是否匹配
@@ -76042,17 +76035,13 @@ external_mapboxgl_default.a.supermap.TrafficTransferAnalystService = TrafficTran
76042
76035
76043
76036
76044
76037
// EXTERNAL MODULE: external "function(){try{return convert}catch(e){return {}}}()"
76045
- var external_function_try_return_convert_catch_e_return_ = __webpack_require__(5 );
76038
+ var external_function_try_return_convert_catch_e_return_ = __webpack_require__(4 );
76046
76039
var external_function_try_return_convert_catch_e_return_default = /*#__PURE__*/__webpack_require__.n(external_function_try_return_convert_catch_e_return_);
76047
76040
76048
76041
// EXTERNAL MODULE: external "function(){try{return canvg}catch(e){return {}}}()"
76049
- var external_function_try_return_canvg_catch_e_return_ = __webpack_require__(8 );
76042
+ var external_function_try_return_canvg_catch_e_return_ = __webpack_require__(7 );
76050
76043
var external_function_try_return_canvg_catch_e_return_default = /*#__PURE__*/__webpack_require__.n(external_function_try_return_canvg_catch_e_return_);
76051
76044
76052
- // EXTERNAL MODULE: external "function(){try{return jsonsql}catch(e){return {}}}()"
76053
- var external_function_try_return_jsonsql_catch_e_return_ = __webpack_require__(4);
76054
- var external_function_try_return_jsonsql_catch_e_return_default = /*#__PURE__*/__webpack_require__.n(external_function_try_return_jsonsql_catch_e_return_);
76055
-
76056
76045
// CONCATENATED MODULE: ./src/mapboxgl/mapping/WebMap.js
76057
76046
/* Copyright© 2000 - 2019 SuperMap Software Co.Ltd. All rights reserved.
76058
76047
* This program are made available under the terms of the Apache License, Version 2.0
@@ -76063,7 +76052,6 @@ var external_function_try_return_jsonsql_catch_e_return_default = /*#__PURE__*/_
76063
76052
76064
76053
76065
76054
76066
-
76067
76055
external_mapboxgl_default.a.supermap = external_mapboxgl_default.a.supermap || {};
76068
76056
76069
76057
const WebMap_MB_SCALEDENOMINATOR_3857 = [
@@ -76116,8 +76104,9 @@ const WebMap_DEFAULT_WELLKNOWNSCALESET = ['GoogleCRS84Quad', 'GoogleMapsCompatib
76116
76104
* @classdesc 对接 iPortal/Online 地图类。目前支持地图坐标系包括:'EPSG:3857','EPSG:4326','EPSG:4490','EPSG:4214','EPSG:4610'。
76117
76105
* <div style="padding: 20px;border: 1px solid #eee;border-left-width: 5px;border-radius: 3px;border-left-color: #ce4844;">
76118
76106
* <p style="color: #ce4844">Notice</p>
76119
- * <p style="font-size: 13px">该功能依赖 <a href='http://iclient.supermap.io/web/libs/geostats/geostats.js'>geostats</a> 插件,请确认引入该插件。</p>
76120
- * `<script type="text/javascript" src="http://iclient.supermap.io/web/libs/geostats/geostats.js"></script>`
76107
+ * <p style="font-size: 13px">该功能依赖 <a href='http://iclient.supermap.io/web/libs/geostats/geostats.js'>geostats</a> 和 <a href='http://iclient.supermap.io/web/libs/jsonsql/jsonsql.js'>JsonSql</a> 插件,请确认引入该插件。</p>
76108
+ * `<script type="text/javascript" src="http://iclient.supermap.io/web/libs/geostats/geostats.js"></script>`</br>
76109
+ * `<script type="text/javascript" src="http://iclient.supermap.io/web/libs/jsonsql/jsonsql.js"></script>`
76121
76110
* </div>
76122
76111
* @param {number} id - iPortal|Online 地图 ID。
76123
76112
* @param {Object} options - 参数。
@@ -77480,15 +77469,14 @@ class WebMap_WebMap extends external_mapboxgl_default.a.Evented {
77480
77469
if (!filterCondition) {
77481
77470
return allFeatures;
77482
77471
}
77483
- let jsonsqls = external_function_try_return_jsonsql_catch_e_return_default.a ? external_function_try_return_jsonsql_catch_e_return_default.a : window.jsonsql;
77484
77472
let condition = this._replaceFilterCharacter(filterCondition);
77485
77473
let sql = 'select * from json where (' + condition + ')';
77486
77474
let filterFeatures = [];
77487
77475
for (let i = 0; i < allFeatures.length; i++) {
77488
77476
let feature = allFeatures[i];
77489
77477
let filterResult = false;
77490
77478
try {
77491
- filterResult = jsonsqls .query(sql, {
77479
+ filterResult = window.jsonsql .query(sql, {
77492
77480
properties: feature.properties
77493
77481
});
77494
77482
} catch (err) {
@@ -78395,20 +78383,20 @@ external_mapboxgl_default.a.supermap.WebMap = WebMap_WebMap;
78395
78383
78396
78384
78397
78385
/***/ }),
78398
- /* 14 */
78386
+ /* 13 */
78399
78387
/***/ (function(module, __webpack_exports__, __webpack_require__) {
78400
78388
78401
78389
"use strict";
78402
78390
__webpack_require__.r(__webpack_exports__);
78403
- /* harmony import */ var _supermap_iclient_common_css_webmapfont_iconfont_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(26 );
78391
+ /* harmony import */ var _supermap_iclient_common_css_webmapfont_iconfont_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25 );
78404
78392
/* harmony import */ var _supermap_iclient_common_css_webmapfont_iconfont_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_supermap_iclient_common_css_webmapfont_iconfont_css__WEBPACK_IMPORTED_MODULE_0__);
78405
- /* harmony import */ var _supermap_iclient_common_widgets_css_MessageBox_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(20 );
78393
+ /* harmony import */ var _supermap_iclient_common_widgets_css_MessageBox_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(19 );
78406
78394
/* harmony import */ var _supermap_iclient_common_widgets_css_MessageBox_css__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_supermap_iclient_common_widgets_css_MessageBox_css__WEBPACK_IMPORTED_MODULE_1__);
78407
78395
78408
78396
78409
78397
78410
78398
/***/ }),
78411
- /* 15 */
78399
+ /* 14 */
78412
78400
/***/ (function(module, exports) {
78413
78401
78414
78402
(function(self) {
@@ -78832,7 +78820,7 @@ __webpack_require__.r(__webpack_exports__);
78832
78820
78833
78821
78834
78822
/***/ }),
78835
- /* 16 */
78823
+ /* 15 */
78836
78824
/***/ (function(module, exports) {
78837
78825
78838
78826
// shim for using process in browser
@@ -79022,7 +79010,7 @@ process.umask = function() { return 0; };
79022
79010
79023
79011
79024
79012
/***/ }),
79025
- /* 17 */
79013
+ /* 16 */
79026
79014
/***/ (function(module, exports, __webpack_require__) {
79027
79015
79028
79016
/* WEBPACK VAR INJECTION */(function(global, process) {(function (global, undefined) {
@@ -79212,10 +79200,10 @@ process.umask = function() { return 0; };
79212
79200
attachTo.clearImmediate = clearImmediate;
79213
79201
}(typeof self === "undefined" ? typeof global === "undefined" ? this : global : self));
79214
79202
79215
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(3), __webpack_require__(16 )))
79203
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(3), __webpack_require__(15 )))
79216
79204
79217
79205
/***/ }),
79218
- /* 18 */
79206
+ /* 17 */
79219
79207
/***/ (function(module, exports, __webpack_require__) {
79220
79208
79221
79209
/* WEBPACK VAR INJECTION */(function(global) {var scope = (typeof global !== "undefined" && global) ||
@@ -79271,7 +79259,7 @@ exports._unrefActive = exports.active = function(item) {
79271
79259
};
79272
79260
79273
79261
// setimmediate attaches itself to the global object
79274
- __webpack_require__(17 );
79262
+ __webpack_require__(16 );
79275
79263
// On some exotic environments, it's not clear which object `setimmediate` was
79276
79264
// able to install onto. Search each possibility in the same order as the
79277
79265
// `setimmediate` library.
@@ -79285,26 +79273,26 @@ exports.clearImmediate = (typeof self !== "undefined" && self.clearImmediate) ||
79285
79273
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(3)))
79286
79274
79287
79275
/***/ }),
79288
- /* 19 */
79276
+ /* 18 */
79289
79277
/***/ (function(module, exports, __webpack_require__) {
79290
79278
79291
- __webpack_require__(13 );
79292
- module.exports = __webpack_require__(14 );
79279
+ __webpack_require__(12 );
79280
+ module.exports = __webpack_require__(13 );
79293
79281
79294
79282
79295
79283
/***/ }),
79296
- /* 20 */
79284
+ /* 19 */
79297
79285
/***/ (function(module, exports) {
79298
79286
79299
79287
// removed by extract-text-webpack-plugin
79300
79288
79301
79289
/***/ }),
79290
+ /* 20 */,
79302
79291
/* 21 */,
79303
79292
/* 22 */,
79304
79293
/* 23 */,
79305
79294
/* 24 */,
79306
- /* 25 */,
79307
- /* 26 */
79295
+ /* 25 */
79308
79296
/***/ (function(module, exports) {
79309
79297
79310
79298
// removed by extract-text-webpack-plugin
0 commit comments