Skip to content

Commit d592832

Browse files
committed
【API】 修改微件相关注释 review by zhurc
1 parent 014fa88 commit d592832

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

src/leaflet/widgets/WidgetsViewBase.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import '../core/Base';
99
* @classdesc lealfet 微件基类。
1010
* @version 9.1.1
1111
* @param {Object} options - 参数。
12-
* @param {string} [options.position='topright'] - 微件在底图中显示的位置,包括:'topleft','topright','bottomleft' 和 'bottomright',继承自 leaflet control。
12+
* @param {string} [options.position='topright'] - 微件在地图中显示的位置,包括:'topleft','topright','bottomleft' 和 'bottomright',继承自 leaflet control。
1313
* @param {function} [options.style] - 设置图层点线面默认样式,点样式返回 maker 或者 circleMaker;线和面返回 L.path 样式。
1414
* @param {function} [options.onEachFeature] - 在创建和设置样式后,将为每个创建的要素调用一次的函数。用于将事件和弹出窗口附加到要素。默认情况下,对新创建的图层不执行任何操作。
1515
*/

src/leaflet/widgets/clientcomputation/ClientComputationView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { CommonContainer, DropDownBox, Select, MessageBox, Lang } from '@superma
1212
* @version 9.1.1
1313
* @param {string} workerUrl - worker 地址,原始位置为 dist/leaflet/workers/TurfWorker.js。
1414
* @param {Object} options - 可选参数。
15-
* @param {string} [options.position='topright'] - 微件在底图中显示的位置,包括:'topleft','topright','bottomleft' 和 'bottomright',继承自 leaflet control。
15+
* @param {string} [options.position='topright'] - 微件在地图中显示的位置,包括:'topleft','topright','bottomleft' 和 'bottomright',继承自 leaflet control。
1616
* @param {function} [options.style] - 设置图层点线面默认样式,点样式返回 maker 或者 circleMaker;线和面返回 L.path 样式。
1717
* @param {function} [options.onEachFeature] - 在创建和设置样式后,将为每个创建的要素调用一次的函数。用于将事件和弹出窗口附加到要素。默认情况下,对新创建的图层不执行任何操作。
1818
* @fires L.supermap.widgets.clientComputation#analysissucceed

src/leaflet/widgets/dataflow/DataFlowView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {DataFlowViewModel} from './DataFlowViewModel';
1212
* @version 9.1.1
1313
* @category Widgets DataFlow
1414
* @param {Object} options - 可选参数。
15-
* @param {string} [options.position='topright'] - 微件在底图中显示的位置,包括:'topleft','topright','bottomleft' 和 'bottomright',继承自 leaflet control。
15+
* @param {string} [options.position='topright'] - 微件在地图中显示的位置,包括:'topleft','topright','bottomleft' 和 'bottomright',继承自 leaflet control。
1616
* @param {Function} [options.style] - 设置图层点线面默认样式,点样式返回 maker 或者 circleMaker;线和面返回 L.path 样式。<br>
1717
`function (feature) {
1818
return {

src/leaflet/widgets/dataservicequery/DataServiceQueryView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import {
2424
* @param {(Array.<string>|string)} dataSetNames - 配置查询方式和查询的数据集数组。格式:" 数据源名:数据集名 ",例:"World: Countries"。
2525
* @param {Object.<Array>} options - 可选参数。
2626
* @param {(Array.<SuperMap.GetFeatureMode>|SuperMap.GetFeatureMode)} [options.getFeatureMode] - 查询方式。
27-
* @param {string} [options.position='topright'] - 微件在底图中显示的位置,包括:'topleft','topright','bottomleft' 和 'bottomright',继承自 leaflet control。
27+
* @param {string} [options.position='topright'] - 微件在地图中显示的位置,包括:'topleft','topright','bottomleft' 和 'bottomright',继承自 leaflet control。
2828
* @param {function} [options.style] - 设置图层点线面默认样式,点样式返回 maker 或者 circleMaker;线和面返回 L.path 样式。
2929
* @param {function} [options.onEachFeature] - 在创建和设置样式后,将为每个创建的要素调用一次的函数。用于将事件和弹出窗口附加到要素。默认情况下,对新创建的图层不执行任何操作。
3030
* @fires L.supermap.widgets.dataServiceQuery#getfeaturessucceed

src/leaflet/widgets/distributedanalysis/DistributedAnalysisView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { CommonContainer, DropDownBox, Select, MessageBox, Lang, KernelDensityJo
1212
* @version 9.1.1
1313
* @param {string} processingUrl - 分布式分析服务地址。
1414
* @param {Object} options - 可选参数。
15-
* @param {string} [options.position='topright'] - 微件在底图中显示的位置,包括:'topleft','topright','bottomleft' 和 'bottomright',继承自 leaflet control。
15+
* @param {string} [options.position='topright'] - 微件在地图中显示的位置,包括:'topleft','topright','bottomleft' 和 'bottomright',继承自 leaflet control。
1616
* @param {function} [options.style] - 设置图层点线面默认样式,点样式返回 maker 或者 circleMaker;线和面返回 L.path 样式。
1717
* @param {function} [options.onEachFeature] - 在创建和设置样式后,将为每个创建的要素调用一次的函数。用于将事件和弹出窗口附加到要素。默认情况下,对新创建的图层不执行任何操作。
1818
* @fires L.supermap.widgets.distributedAnalysis#analysissucceed

src/leaflet/widgets/openfile/OpenFileView.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ import {MessageBox, Lang} from '@supermap/iclient-common';
88

99
/**
1010
* @class L.supermap.widgets.openFile
11-
* @classdesc 打开文件微件,用于打开本地数据文件并加载到底图
11+
* @classdesc 打开文件微件,用于打开本地数据文件并加载到地图,目前支持打开 .csv|.xls|.xlsx|.geojson|.json 格式文件。
1212
* @version 9.1.1
1313
* @param {Object} options - 可选参数。
14-
* @param {string} [options.position='topright'] - 微件在底图中显示的位置,包括:'topleft','topright','bottomleft' 和 'bottomright',继承自 leaflet control。
14+
* @param {string} [options.position='topright'] - 微件在地图中显示的位置,包括:'topleft','topright','bottomleft' 和 'bottomright',继承自 leaflet control。
1515
* @param {function} [options.style] - 设置图层点线面默认样式,点样式返回 maker 或者 circleMaker;线和面返回 L.path 样式。
1616
* @param {function} [options.onEachFeature] - 在创建和设置样式后,将为每个创建的要素调用一次的函数。用于将事件和弹出窗口附加到要素。默认情况下,对新创建的图层不执行任何操作。
1717
* @fires L.supermap.widgets.openFile#openfilesucceed

src/leaflet/widgets/search/SearchView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import {
3232
* 配置两种格式:{key1:{A:[],B:[]}, key2:{C:[],D:[]}} 或 ["成都市","北京市"],用户可根据自己的项目需求进行配置
3333
* @param {Object} [options.cityGeoCodingConfig] - 城市地址匹配服务配置,包括:{addressUrl:"",key:""} 默认为 online 地址匹配服务,与 options.cityConfig 对应
3434
* @param {boolean} [options.isGeoCoding=true] - 是否支持城市地址匹配功能
35-
* @param {string} [options.position='topright'] - 微件在底图中显示的位置,包括:'topleft','topright','bottomleft' 和 'bottomright',继承自 leaflet control。
35+
* @param {string} [options.position='topright'] - 微件在地图中显示的位置,包括:'topleft','topright','bottomleft' 和 'bottomright',继承自 leaflet control。
3636
* @param {function} [options.style] - 设置图层点线面默认样式,点样式返回 maker 或者 circleMaker;线和面返回 L.path 样式。
3737
* @param {function} [options.onEachFeature] - 在创建和设置样式后,将为每个创建的要素调用一次的函数。用于将事件和弹出窗口附加到要素。默认情况下,对新创建的图层不执行任何操作。
3838
* @extends {L.Control}

0 commit comments

Comments
 (0)