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