Class: mapService

mapService

地图信息服务类

L.supermap.mapService(url, options)

leaflet/services/MapService.js, line 5
Name Type Description
url string

地图服务地址

options Object

地图服务信息相关参数。如:
serverType - {SuperMap.ServerType} 服务来源 iServer|iPortal|online

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

回调函数