L.supermap.themeService(url, options)
leaflet/services/ThemeService.js, line 4
Name | Type | Description |
---|---|---|
url |
string |
服务的访问地址。 |
options |
Object |
交互服务时所需可选参数。如: |
Example
L.supermap.themeService(url,{
projection:projection
}).getThemeInfo(params,function(result){
//doSomething
});
Extends
Methods
-
inherited destroy()
leaflet/services/ServiceBase.js, line 30 -
释放资源,将引用的资源属性置空。
-
getThemeInfo(params, callback)
leaflet/services/ThemeService.js, line 24 -
获取专题图信息
Name Type Description params
SuperMap.ThemeParameters 专题图参数类
callback
function 回调函数