Class: VectorTileSuperMapRest

ol.source.VectorTileSuperMapRest

The VectorTileSuperMapRest class.

new ol.source.VectorTileSuperMapRest(options)

VectorTileSuperMapRest.js, line 20
Name Type Description
options Object

parameters.

Name Type Default Description
url string

The url of service.

crossOrigin string 'anonymous' optional

Cross-domain mode.

attributions string | Object 'Tile Data <span>© <a href='http://support.supermap.com.cn/product/iServer.aspx' target='_blank'>SuperMap iServer</a></span> with <span>© <a href='https://iclient.supermap.io' target='_blank'>SuperMap iClient</a></span>' optional

attributions.

serverType SuperMap.ServerType SuperMap.ServerType.ISERVER optional

Type of server iServer|iPortal|online.

Extends

Methods

static optionsFromMapJSON(url, mapJSONObj)

VectorTileSuperMapRest.js, line 220

Get map JSON information.

Name Type Description
url string

URL.

mapJSONObj Object

Map JSON.