new ol.supermap.MapService(url, options)
openlayers/services/MapService.js, line 5
Name | Type | Description |
---|---|---|
url |
string |
地图服务地址 |
options |
Object |
地图服务信息相关参数。如: |
Example
new ol.supermap.MapService(url)
.getMapInfo(function(result){
//doSomething
})
Extends
Methods
-
getMapInfo(callback){ol.supermap.MapService}
openlayers/services/MapService.js, line 24 -
地图信息查询服务
Name Type Description callback
function 回调函数
Returns:
Type Description ol.supermap.MapService 获取服务信息 -
getTilesets(callback){ol.supermap.MapService}
openlayers/services/MapService.js, line 43 -
切片列表信息查询服务
Name Type Description callback
function 回调函数
Returns:
Type Description ol.supermap.MapService 获取服务信息