new ol.supermap.ThemeService(url, options)
openlayers/services/ThemeService.js, line 5
Name | Type | Description |
---|---|---|
url |
string |
服务的访问地址。 |
options |
Object |
交互服务时所需可选参数。如: |
Example
new ol.supermap.ThemeService(url,{
projection:projection
}).getThemeInfo(params,function(result){
//doSomething
});
Extends
Methods
-
getThemeInfo(params, callback)
openlayers/services/ThemeService.js, line 25 -
获取专题图信息
Name Type Description params
SuperMap.ThemeParameters 专题图参数类
callback
function 回调函数