L.supermap.mapService(url, options)
leaflet/services/MapService.js, line 5
Name | Type | Description |
---|---|---|
url |
string |
地图服务地址 |
options |
Object |
地图服务信息相关参数。如: |
Example
L.supermap.mapService(url)
.getMapInfo(function(result){
//doSomething
})
Extends
Methods
-
inherited destroy()
leaflet/services/ServiceBase.js, line 30 -
释放资源,将引用的资源属性置空。
-
getMapInfo(callback)
leaflet/services/MapService.js, line 33 -
获取地图信息
Name Type Description callback
function 回调函数
-
getTilesets(callback)
leaflet/services/MapService.js, line 51 -
获取切片列表信息
Name Type Description callback
function 回调函数