abstract StyleLayer¶
ベクトル地図スタイルのレイヤーを表現する。
このクラスのインスタンスは [[StyleManager]] インスタンスが保有する。
Properties¶
id¶
readonlyid:string
スタイルに記述されたレイヤーの ID
mapbox の Layers の id プロパティと同じ文字列が設定される。
style_manager¶
readonlystyle_manager:StyleManager
このレイヤーの起源である [[StyleManager]] インスタンス
type¶
readonlytype:string
スタイルに記述されたレイヤーの型
mapbox の Layers の type プロパティと同じ文字列が設定される。
Accessors¶
visibility¶
getvisibility():boolean
レイヤーの可視性
setvisibility(value):void
レイヤーの可視性
Parameters¶
| Parameter | Type |
|---|---|
value |
boolean |
Returns¶
boolean