Skip to content

Commit 69f220a

Browse files
committed
【fix/API】Mapbox Style 矢量瓦片支持不传source,默认获取style.sources的第一个。优化dataflow相关API和例子注释 review by liqian
1 parent 50a5397 commit 69f220a

30 files changed

+7002
-6847
lines changed

dist/leaflet/iclient9-leaflet-es6.js

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20375,7 +20375,7 @@ SuperMap.ComputeWeightMatrixService = ComputeWeightMatrixService_ComputeWeightMa
2037520375
* @param {Object} options - 参数。
2037620376
* @param {function} options.style - 设置数据加载样式。
2037720377
* @param {function} options.onEachFeature - 设置每个数据加载popup等。
20378-
* @param {Array.<Object>} options.geometry - 设置增添的几何要素对象数组
20378+
* @param {GeoJSONObject} options.geometry - 指定几何范围,该范围内的要素才能被订阅
2037920379
* @param {Object} options.excludeField - -排除字段。
2038020380
*/
2038120381
class DataFlowService_DataFlowService extends CommonServiceBase_CommonServiceBase {
@@ -20392,8 +20392,8 @@ class DataFlowService_DataFlowService extends CommonServiceBase_CommonServiceBas
2039220392
super(url, options);
2039320393

2039420394
/**
20395-
* @member {Array.<Object>} SuperMap.DataFlowService.prototype.geometry
20396-
* @description 设置增添的几何要素对象数组
20395+
* @member {GeoJSONObject} SuperMap.DataFlowService.prototype.geometry
20396+
* @description 指定几何范围,该范围内的要素才能被订阅
2039720397
*/
2039820398
this.geometry = null;
2039920399

@@ -20498,7 +20498,7 @@ class DataFlowService_DataFlowService extends CommonServiceBase_CommonServiceBas
2049820498
/**
2049920499
* @function SuperMap.DataFlowService.prototype.setGeometry
2050020500
* @description 设置添加的几何要素数据
20501-
* @param {Array.<Object>} geometry - 设置增添的几何要素对象数组
20501+
* @param {GeoJSONObject} geometry - 指定几何范围,该范围内的要素才能被订阅
2050220502
* @returns {this} this
2050320503
*/
2050420504
setGeometry(geometry) {
@@ -64703,10 +64703,6 @@ SuperMap.Widgets.MessageBox = MessageBox;
6470364703
var external_function_try_return_echarts_catch_e_return_ = __webpack_require__(2);
6470464704
var external_function_try_return_echarts_catch_e_return_default = /*#__PURE__*/__webpack_require__.n(external_function_try_return_echarts_catch_e_return_);
6470564705

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-
6471064706
// CONCATENATED MODULE: ./src/common/lang/Lang.js
6471164707
/* Copyright© 2000 - 2019 SuperMap Software Co.Ltd. All rights reserved.
6471264708
* This program are made available under the terms of the Apache License, Version 2.0
@@ -64813,6 +64809,10 @@ let Lang = {
6481364809
SuperMap.Lang = Lang;
6481464810
SuperMap.i18n = SuperMap.Lang.i18n;
6481564811

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+
6481664816
// CONCATENATED MODULE: ./src/common/widgets/util/FileReaderUtil.js
6481764817
/* Copyright© 2000 - 2019 SuperMap Software Co.Ltd. All rights reserved.
6481864818
* This program are made available under the terms of the Apache License, Version 2.0
@@ -65041,6 +65041,13 @@ SuperMap.Widgets.FileReaderUtil = FileReaderUtil;
6504165041

6504265042

6504365043

65044+
65045+
65046+
65047+
65048+
65049+
65050+
6504465051
/**
6504565052
* @class SuperMap.Widgets.ChartModel
6504665053
* @classdesc 图表微件数据模型
@@ -75454,7 +75461,7 @@ external_L_default.a.supermap.webmap = webMap;
7545475461
* @param {SuperMap.ServerType} [options.serverType=SuperMap.ServerType.ISERVER] - 服务来源 iServer|iPortal|online。
7545575462
* @param {Function} [options.style] - 设置数据加载样式。
7545675463
* @param {Function} [options.onEachFeature] - 设置每个数据加载 popup 等。
75457-
* @param {Array.<Object>} [options.geometry] - 设置增添的几何要素对象数组
75464+
* @param {GeoJSONObject} [options.geometry] - 指定几何范围,该范围内的要素才能被订阅
7545875465
* @param {Object} [options.excludeField] - 排除字段。
7545975466
* @fires L.supermap.dataFlowService#broadcastSocketConnected
7546075467
* @fires L.supermap.dataFlowService#broadcastSocketError
@@ -75567,7 +75574,7 @@ var services_DataFlowService_DataFlowService = ServiceBase.extend({
7556775574
/**
7556875575
* @function L.supermap.dataFlowService.prototype.setGeometry
7556975576
* @description 设置添加的 GeoJSON 几何要素数据。
75570-
* @param {Array.<GeoJSONObject>} geometry - 设置增添的 GeoJSON 几何要素对象数组
75577+
* @param {GeoJSONObject} geometry - 指定几何范围,该范围内的要素才能被订阅
7557175578
*/
7557275579
setGeometry: function (geometry) {
7557375580
this.dataFlow.setGeometry(geometry);
@@ -76464,14 +76471,14 @@ var NormalRenderer = external_L_default.a.GeoJSON.extend({
7646476471

7646576472
/**
7646676473
* @class L.supermap.dataFlowLayer
76467-
* @classdesc 数据流图层源。
76474+
* @classdesc 数据流图层源。订阅SuperMap iServer 数据流服务并上图。订阅得到的数据会根据 `options.idField` 自动更新。
7646876475
* @category iServer DataFlow
7646976476
* @extends {L.LayerGroup}
76470-
* @param {string} url - 数据流图层服务地址
76477+
* @param {string} url - SuperMap iServer 数据流服务地址,例如:http://localhost:8090/iserver/services/dataflowTest/dataflow
7647176478
* @param {Object} options - 设置图层参数。
7647276479
* @param {Object} [options.render='normal'] - 绘制方式。可选值为'normal','mapv'。
7647376480
'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] - 指定几何范围,该范围内的要素才能被订阅
7647576482
* @param {Object} [options.prjCoordSys] - 投影坐标对象。
7647676483
* @param {string} [options.excludeField] - 排除字段。
7647776484
* @param {string} [options.idField='id'] - 要素属性中表示唯一标识的字段。

dist/leaflet/iclient9-leaflet-es6.min.js

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy