new mapboxgl.supermap.ThemeService(url, options)
ThemeService.js, line 6
| Name | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
url |
string |
The url of service. |
||||||||||||||||||||||||
options |
Object |
The optional parameters.
|
Example
new mapboxgl.supermap.ThemeService(url,{
projection:projection
}).getThemeInfo(params,function(result){
//doSomething
});
Extends
Events
-
inherited initialized
ServiceBase.js, line 23 -
Triggered after the constructor construct succeeds.
Properties:
Name Type Description thisObject This object.
Methods
-
getThemeInfo(params, callback)
ThemeService.js, line 31 -
Get information of thematic map.
Name Type Description paramsSuperMap.ThemeParameters The ThemeParameters class.
callbackRequestCallback The callback of result data returned by the server side.