Class: ThemeService

ThemeService

专题图服务类

new ol.supermap.ThemeService(url, options)

openlayers/services/ThemeService.js, line 5
Name Type Description
url string

服务的访问地址。

options Object

交互服务时所需可选参数。如:
serverType - {SuperMap.ServerType} 服务来源 iServer|iPortal|online

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

回调函数