Class: VectorTileSuperMapRest

ol.source.VectorTileSuperMapRest

矢量瓦片图层源。

new ol.source.VectorTileSuperMapRest(options)

openlayers/overlay/VectorTileSuperMapRest.js, line 23
Name Type Description
options Object

参数。

Name Type Default Description
url string

服务地址。

crossOrigin string 'anonymous' 可选

跨域模式。

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>' 可选

版权信息。

format Object 可选

瓦片的要素格式化。

serverType SuperMap.ServerType SuperMap.ServerType.ISERVER 可选

服务器类型,iServer|iPortal|Online。

Extends

Methods

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

openlayers/overlay/VectorTileSuperMapRest.js, line 224

获取地图 JSON 信息。

Name Type Description
url string

地址。

mapJSONObj Object

地图 JSON。