new ol.supermap.ImageService(url, options)
openlayers/services/ImageService.js, line 7
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
url |
string |
服务地址。例如: http://{ip}:{port}/iserver/{imageservice-imageserviceName}/restjsr/ |
||||||||||||||||||||
options |
Object |
参数。
|
- Version:
- 10.2.0
Example
ol.supermap.ImageService(url,options)
.getCollections(function(result){
//doSomething
})
Extends
Methods
-
getCollectionByID(collectionId, callback)
openlayers/services/ImageService.js, line 52 -
ID值等于
collectionId
参数值的影像集合(Collection)。 ID值用于在服务中唯一标识该影像集合。Name Type Description collectionId
string 影像集合(Collection)的ID,在一个影像服务中唯一标识影像集合。
callback
RequestCallback 请求结果的回调函数。
-
getCollections(callback)
openlayers/services/ImageService.js, line 31 -
返回当前影像服务中的影像集合列表(Collections)。
Name Type Description callback
RequestCallback 请求结果的回调函数。
-
search(itemSearch, callback)
openlayers/services/ImageService.js, line 74 -
查询与过滤条件匹配的影像数据。
Name Type Description itemSearch
SuperMap.ImageSearchParameter 可选 查询参数
callback
RequestCallback 请求结果的回调函数。