Class: ThemeService

ol.supermap.ThemeService

专题图服务类。

new ol.supermap.ThemeService(url, options)

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

服务的访问地址。

options Object

参数。

Name Type Default Description
proxy string 可选

服务代理地址。

withCredentials boolean false 可选

请求是否携带 cookie。

crossOrigin boolean 可选

是否允许跨域请求。

headers Object 可选

请求头。

Example
new ol.supermap.ThemeService(url,{
           projection:projection
     }).getThemeInfo(params,function(result){
          //doSomething
     });

Extends

Methods

getThemeInfo(params, callback)

openlayers/services/ThemeService.js, line 31

获取专题图信息。

Name Type Description
params SuperMap.ThemeParameters

专题图参数类。

callback RequestCallback

回调函数。