L.supermap.themeService(url, options)
ThemeService.js, line 6
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
url |
string |
The url of service. |
||||||||||||||||||||||||
options |
Object |
The optional parameters.
|
Example
L.supermap.themeService(url,{
projection:projection
}).getThemeInfo(params,function(result){
//doSomething
});
Extends
Events
-
inherited destroy
ServiceBase.js, line 49 -
Triggered after the resource is successfully released.
Properties:
Name Type Description this
L.supermap.ServiceBase This object.
-
inherited initialized
ServiceBase.js, line 36 -
Triggered after the constructor is constructed successfully.
Properties:
Name Type Description this
L.supermap.ServiceBase This object.
Methods
-
inherited destroy()
ServiceBase.js, line 44 -
Disposes the resource. The property that references resource is set to null.
-
getThemeInfo(params, callback)
ThemeService.js, line 31 -
Get information of thematic map.
Name Type Description params
SuperMap.ThemeParameters The ThemeParameters class.
callback
RequestCallback The ThemeParameters class.