new ov.Widget.BuildingOverlay(param)
common/PilotGaea-Widget.js, line 9465
BuildingOverlay,需加入material-icons.css
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
或參照Google Fonts Material Icons Guide設置離線版本。
https://developers.google.com/fonts/docs/material_icons
| Name | Type | Description | |||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
param |
Object |
參數。
|
Methods
-
OnAddedOverlay(layers, isAdd)
common/PilotGaea-Widget.js, line 9644 -
套疊圖層變化時觸發
Name Type Description layersObject 套疊圖層的圖層
isAddbool 套疊時為true解除套疊時為false
-
OnBuildingNotFound(buildingLayer)
common/PilotGaea-Widget.js, line 9620 -
當找不到建物時觸發
Name Type Description buildingLayerObject 建物圖層
Name Type Description namename 建物圖層名稱
-
OnOverlayNotFound(overlayInfo)
common/PilotGaea-Widget.js, line 9628 -
- 當找不到Overlay時觸發
Name Type Description overlayInfoObject overlay資訊