Class: VectorTileSuperMapRest

ol.source.VectorTileSuperMapRest

The VectorTileSuperMapRest class.

new ol.source.VectorTileSuperMapRest(options)

D:/iClient9_English0919/src/openlayers/overlay/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

  • ol.source.VectorTile

Methods

ol.source.VectorTileSuperMapRest.optionsFromMapJSON(url, mapJSONObj)

D:/iClient9_English0919/src/openlayers/overlay/VectorTileSuperMapRest.js, line 220

Get map JSON information.

Name Type Description
url string

URL.

mapJSONObj Object

Map JSON.