WebMapTileService(options)

WMTS地图服务类,参考地图服务

new WebMapTileService(options)

Parameters:
Name Type Description
options Object

包含以下参数的对象

Properties
Name Type Attributes Default Description
url String

地图服务地址

layer String

图层名

style String

图层样式名

tileMatrixSetID String

TileMatrixSet名称

tileMatrixLabels String <optional>

tileMatrixLabels

tilingScheme TilingScheme <optional>
GeographicTilingScheme

地图切片方案

maximumLevel Number <optional>

显示地图的最大层级

subdomains Array.<String> <optional>

子域,如['0','1','2']

Extends

Members

alpha

地图图层透明度

Overrides:

brightness

地图图层亮度

Overrides:

contrast

地图图层对比度

Overrides:

show

地图图层显隐

Overrides: