Skip to content

Commit 55bf793

Browse files
committed
【doc】优化服务地址描述
1 parent 1788c6f commit 55bf793

96 files changed

Lines changed: 96 additions & 114 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/leaflet/services/AddressMatchService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { Util as CommonUtil } from '@supermapgis/iclient-common/commontypes/Util
1818
* .code(function(result){
1919
* //doSomething
2020
* })
21-
* @param {string} url - 服务地址
21+
* @param {string} url - 地址匹配服务地址,如 http://{ip}:{port}/iserver/services/addressmatch-Address/restjsr/v1/address
2222
* @param {Object} options - 参数。
2323
* @param {string} [options.proxy] - 服务代理地址。
2424
* @param {boolean} [options.withCredentials] - 请求是否携带凭据。默认情况下,仅同源请求包含凭据。

src/leaflet/services/ChartService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* }).queryChart(param,function(result){
2424
* //doSomething
2525
* })
26-
* @param {string} url - 服务地址
26+
* @param {string} url - 地图服务地址,如 http://{ip}:{port}/iserver/services/map-chart/rest/maps/GB4X0000_52000
2727
* @param {string} [dataUrl] - 数据服务地址。
2828
* @param {Object} options - 参数。
2929
* @param {string} [options.proxy] - 服务代理地址。

src/leaflet/services/DataFlowService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {DataFlowService as DataFlow} from '@supermapgis/iclient-common/iServer/D
1414
* @category iServer DataFlow
1515
* @modulecategory Services
1616
* @extends {ServiceBase}
17-
* @param {string} url - 服务地址
17+
* @param {string} url - 数据流服务地址,如 ws://{ip}:{port}/iserver/services/dataflowTest/dataflow
1818
* @param {Object} options - 参数。
1919
* @param {function} [options.style] - 设置数据加载样式。
2020
* @param {function} [options.onEachFeature] - 给该元素绑定事件和弹窗。

src/leaflet/services/DatasetService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* @category iServer Data Dataset
1515
* @modulecategory Services
1616
* @extends {ServiceBase}
17-
* @param {string} url - 服务地址
17+
* @param {string} url - 数据服务地址,如 http://{ip}:{port}/iserver/services/data-world/rest/data
1818
* @param {Object} options - 参数。
1919
* @param {string} [options.proxy] - 服务代理地址。
2020
* @param {boolean} [options.withCredentials] - 请求是否携带凭据。默认情况下,仅同源请求包含凭据。

src/leaflet/services/DatasourceService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* @category iServer Data Datasource
1414
* @modulecategory Services
1515
* @extends {ServiceBase}
16-
* @param {string} url - 服务地址
16+
* @param {string} url - 数据服务地址,如 http://{ip}:{port}/iserver/services/data-world/rest/data
1717
* @param {Object} options - 参数。
1818
* @param {string} [options.proxy] - 服务代理地址。
1919
* @param {boolean} [options.withCredentials] - 请求是否携带凭据。默认情况下,仅同源请求包含凭据。

src/leaflet/services/FeatureService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import { FeatureService as CommonFeatureService } from '@supermapgis/iclient-com
2323
* //doSomething
2424
* })
2525
* @extends {ServiceBase}
26-
* @param {string} url - 服务地址
26+
* @param {string} url - 数据服务地址,如 http://{ip}:{port}/iserver/services/data-world/rest/data
2727
* @param {Object} options - 参数。
2828
* @param {string} [options.proxy] - 服务代理地址。
2929
* @param {boolean} [options.withCredentials] - 请求是否携带凭据。默认情况下,仅同源请求包含凭据。

src/leaflet/services/FieldService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { FieldService as CommonFieldService } from '@supermapgis/iclient-common/
1616
* new FieldService(url).getFields(function(result){
1717
* //doSomething
1818
* });
19-
* @param {string} url - 服务地址
19+
* @param {string} url - 数据服务地址,如 http://{ip}:{port}/iserver/services/data-world/rest/data
2020
* @param {Object} options - 参数。
2121
* @param {string} [options.proxy] - 服务代理地址。
2222
* @param {boolean} [options.withCredentials] - 请求是否携带凭据。默认情况下,仅同源请求包含凭据。

src/leaflet/services/GeoprocessingService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import { ServiceBase } from './ServiceBase';
3030
})
3131
})
3232
*
33-
* @param {string} url - 服务地址
33+
* @param {string} url - 处理自动化服务地址,如 http://{ip}:{port}/iserver/services/geoprocessing/restjsr/gp/v2
3434
* @param {Object} options - 参数。
3535
* @usage
3636
*/

src/leaflet/services/GridCellInfosService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { GetGridCellInfosService } from '@supermapgis/iclient-common/iServer/Get
1717
* .getGridCellInfos(param,function(result){
1818
* //doSomething
1919
* })
20-
* @param {string} url - 服务地址
20+
* @param {string} url - 数据服务地址,如 http://{ip}:{port}/iserver/services/data-world/rest/data
2121
* @param {Object} options - 参数。
2222
* @param {string} [options.proxy] - 服务代理地址。
2323
* @param {boolean} [options.withCredentials] - 请求是否携带凭据。默认情况下,仅同源请求包含凭据。

src/leaflet/services/ImageCollectionService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import CommonMatchImageCollectionService from '@supermapgis/iclient-common/iServ
1919
* .getLegend(queryParams, function(result){
2020
* //doSomething
2121
* })
22-
* @param {string} url - 服务地址
22+
* @param {string} url - 影像服务地址,如 http://{ip}:{port}/iserver/services/imageservice-hainan/restjsr
2323
* @param {Object} options - 参数。
2424
* @param {string} options.collectionId 影像集合(Collection)的 ID,在一个影像服务中唯一标识影像集合。
2525
* @param {string} [options.proxy] - 服务代理地址。

0 commit comments

Comments
 (0)