@@ -20375,7 +20375,7 @@ SuperMap.ComputeWeightMatrixService = ComputeWeightMatrixService_ComputeWeightMa
20375
20375
* @param {Object} options - 参数。
20376
20376
* @param {function} options.style - 设置数据加载样式。
20377
20377
* @param {function} options.onEachFeature - 设置每个数据加载popup等。
20378
- * @param {Array.<Object> } options.geometry - 设置增添的几何要素对象数组 。
20378
+ * @param {GeoJSONObject } options.geometry - 指定几何范围,该范围内的要素才能被订阅 。
20379
20379
* @param {Object} options.excludeField - -排除字段。
20380
20380
*/
20381
20381
class DataFlowService_DataFlowService extends CommonServiceBase_CommonServiceBase {
@@ -20392,8 +20392,8 @@ class DataFlowService_DataFlowService extends CommonServiceBase_CommonServiceBas
20392
20392
super(url, options);
20393
20393
20394
20394
/**
20395
- * @member {Array.<Object> } SuperMap.DataFlowService.prototype.geometry
20396
- * @description 设置增添的几何要素对象数组 。
20395
+ * @member {GeoJSONObject } SuperMap.DataFlowService.prototype.geometry
20396
+ * @description 指定几何范围,该范围内的要素才能被订阅 。
20397
20397
*/
20398
20398
this.geometry = null;
20399
20399
@@ -20498,7 +20498,7 @@ class DataFlowService_DataFlowService extends CommonServiceBase_CommonServiceBas
20498
20498
/**
20499
20499
* @function SuperMap.DataFlowService.prototype.setGeometry
20500
20500
* @description 设置添加的几何要素数据
20501
- * @param {Array.<Object> } geometry - 设置增添的几何要素对象数组 。
20501
+ * @param {GeoJSONObject } geometry - 指定几何范围,该范围内的要素才能被订阅 。
20502
20502
* @returns {this} this
20503
20503
*/
20504
20504
setGeometry(geometry) {
@@ -64703,10 +64703,6 @@ SuperMap.Widgets.MessageBox = MessageBox;
64703
64703
var external_function_try_return_echarts_catch_e_return_ = __webpack_require__(2);
64704
64704
var external_function_try_return_echarts_catch_e_return_default = /*#__PURE__*/__webpack_require__.n(external_function_try_return_echarts_catch_e_return_);
64705
64705
64706
- // EXTERNAL MODULE: external "function(){try{return XLSX}catch(e){return {}}}()"
64707
- var external_function_try_return_XLSX_catch_e_return_ = __webpack_require__(24);
64708
- var external_function_try_return_XLSX_catch_e_return_default = /*#__PURE__*/__webpack_require__.n(external_function_try_return_XLSX_catch_e_return_);
64709
-
64710
64706
// CONCATENATED MODULE: ./src/common/lang/Lang.js
64711
64707
/* Copyright© 2000 - 2019 SuperMap Software Co.Ltd. All rights reserved.
64712
64708
* This program are made available under the terms of the Apache License, Version 2.0
@@ -64813,6 +64809,10 @@ let Lang = {
64813
64809
SuperMap.Lang = Lang;
64814
64810
SuperMap.i18n = SuperMap.Lang.i18n;
64815
64811
64812
+ // EXTERNAL MODULE: external "function(){try{return XLSX}catch(e){return {}}}()"
64813
+ var external_function_try_return_XLSX_catch_e_return_ = __webpack_require__(24);
64814
+ var external_function_try_return_XLSX_catch_e_return_default = /*#__PURE__*/__webpack_require__.n(external_function_try_return_XLSX_catch_e_return_);
64815
+
64816
64816
// CONCATENATED MODULE: ./src/common/widgets/util/FileReaderUtil.js
64817
64817
/* Copyright© 2000 - 2019 SuperMap Software Co.Ltd. All rights reserved.
64818
64818
* This program are made available under the terms of the Apache License, Version 2.0
@@ -65041,6 +65041,13 @@ SuperMap.Widgets.FileReaderUtil = FileReaderUtil;
65041
65041
65042
65042
65043
65043
65044
+
65045
+
65046
+
65047
+
65048
+
65049
+
65050
+
65044
65051
/**
65045
65052
* @class SuperMap.Widgets.ChartModel
65046
65053
* @classdesc 图表微件数据模型
@@ -75454,7 +75461,7 @@ external_L_default.a.supermap.webmap = webMap;
75454
75461
* @param {SuperMap.ServerType} [options.serverType=SuperMap.ServerType.ISERVER] - 服务来源 iServer|iPortal|online。
75455
75462
* @param {Function} [options.style] - 设置数据加载样式。
75456
75463
* @param {Function} [options.onEachFeature] - 设置每个数据加载 popup 等。
75457
- * @param {Array.<Object> } [options.geometry] - 设置增添的几何要素对象数组 。
75464
+ * @param {GeoJSONObject } [options.geometry] - 指定几何范围,该范围内的要素才能被订阅 。
75458
75465
* @param {Object} [options.excludeField] - 排除字段。
75459
75466
* @fires L.supermap.dataFlowService#broadcastSocketConnected
75460
75467
* @fires L.supermap.dataFlowService#broadcastSocketError
@@ -75567,7 +75574,7 @@ var services_DataFlowService_DataFlowService = ServiceBase.extend({
75567
75574
/**
75568
75575
* @function L.supermap.dataFlowService.prototype.setGeometry
75569
75576
* @description 设置添加的 GeoJSON 几何要素数据。
75570
- * @param {Array.< GeoJSONObject> } geometry - 设置增添的 GeoJSON 几何要素对象数组 。
75577
+ * @param {GeoJSONObject} geometry - 指定几何范围,该范围内的要素才能被订阅 。
75571
75578
*/
75572
75579
setGeometry: function (geometry) {
75573
75580
this.dataFlow.setGeometry(geometry);
@@ -76464,14 +76471,14 @@ var NormalRenderer = external_L_default.a.GeoJSON.extend({
76464
76471
76465
76472
/**
76466
76473
* @class L.supermap.dataFlowLayer
76467
- * @classdesc 数据流图层源。
76474
+ * @classdesc 数据流图层源。订阅SuperMap iServer 数据流服务并上图。订阅得到的数据会根据 `options.idField` 自动更新。
76468
76475
* @category iServer DataFlow
76469
76476
* @extends {L.LayerGroup}
76470
- * @param {string} url - 数据流图层服务地址 。
76477
+ * @param {string} url - SuperMap iServer 数据流服务地址,例如:http://localhost:8090/iserver/services/dataflowTest/dataflow 。
76471
76478
* @param {Object} options - 设置图层参数。
76472
76479
* @param {Object} [options.render='normal'] - 绘制方式。可选值为'normal','mapv'。
76473
76480
'normal' 表示以 {( {@link L.LatLng}|{@link L.Polyline}|{@link L.Polygon}|{@link L.Marker} )} 方式绘制数据流。'mapv' 表示以 {@link L.supermap.mapVLayer} 方式绘制实时数据。
76474
- * @param {GeoJSONObject} [options.geometry] - GeoJSON 几何对象 。
76481
+ * @param {GeoJSONObject} [options.geometry] - 指定几何范围,该范围内的要素才能被订阅 。
76475
76482
* @param {Object} [options.prjCoordSys] - 投影坐标对象。
76476
76483
* @param {string} [options.excludeField] - 排除字段。
76477
76484
* @param {string} [options.idField='id'] - 要素属性中表示唯一标识的字段。
0 commit comments