new ol.supermap.ThemeService(url, options)
ThemeService.js, line 5
| Name | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
url |
string |
The url of service. |
||||||||||||||||||||||||
options |
Object |
The optional parameters.
|
Example
new ol.supermap.ThemeService(url,{
projection:projection
}).getThemeInfo(params,function(result){
//doSomething
});
Extends
Methods
-
getThemeInfo(params, callback)
ThemeService.js, line 30 -
Get information of thematic map.
Name Type Description paramsol.supermap.ThemeParameters The ThemeParameters class.
callbackRequestCallback The callback of result data returned by the server side.