Class: TerrainWMTSOverlay

ov. TerrainWMTSOverlay

new ov.TerrainWMTSOverlay()

webgl/ov-TerrainWMTSOverlay.js, line 6

WMTS疊加圖層

Extends

Members

customSuffix

圖層網址後綴

Properties:
Name Type Description
customSuffix String

圖層網址後串

readonlyepsg

圖層EPSG

Properties:
Name Type Description
epsg Number

圖層EPSG

readonlyidentifier

圖層id

Properties:
Name Type Description
identifier Number

圖層id

readonlylayername

圖層名稱

Properties:
Name Type Description
layername String

圖層名稱

opacity

圖層不透明度

Properties:
Name Type Description
opacity Number

圖層不透明度

show

圖層顯示

Properties:
Name Type Description
show Boolean

圖層顯示

readonlyurl

圖層url

Properties:
Name Type Description
url Number

圖層url

Methods

addMaskPolygon(param){Boolean}

webgl/ov-TerrainWMTSOverlay.js, line 85

加入一個多邊形遮罩。

Name Type Description
param Object

參數。

Name Type Description
polygon GeoPolygon

多邊形。

maskMode ov.MASK_MODE

遮罩模式。

Returns:
Type Description
Boolean 是否加入成功。

getAllMaskPolygon(){Array.<ov.TerrainWMTSOverlay.MaskPolygonProperty>}

webgl/ov-TerrainWMTSOverlay.js, line 100

取得所有多邊形遮罩參數。

Returns:
Type Description
Array.<ov.TerrainWMTSOverlay.MaskPolygonProperty> 多邊形遮罩參數。

inherited goto(callback)

webgl/ov-TerrainOverlay.js, line 70

飛到圖層的位置。

Name Type Description
callback ov.TerrainOverlay~gotoCallback

移動完成後執行的回呼。

removeAllMaskPolygon()

webgl/ov-TerrainWMTSOverlay.js, line 92

移除所有多邊形遮罩。

inherited update(param)

webgl/ov-TerrainOverlay.js, line 99

更新疊加圖層屬性。

Name Type Description
param Object optional

參數物件。

Type Definitions

ov.TerrainWMTSOverlay.MaskPolygonPropertyObject

遮罩多邊形參數。

Properties:
Name Type Description
polygon GeoPolygon

多邊形。

maskMode ov.MASK_MODE

遮罩模式。