PitchControl class
Haritanın perdesini değiştirmeye yönelik denetim.
- Extends
Oluşturucular
Pitch |
PitchControl oluşturur. |
Yöntemler
on |
Eşlem'e eklendiğinde çağrılan denetim için başlatma yöntemi. |
on |
Devralınan Yöntemler
build |
Denetim için en dıştaki kapsayıcıyı derleyin, otomatik stil için tüm dinleyiciler de dahil olmak üzere stil uygular. |
Oluşturucu Ayrıntıları
PitchControl(PitchControlOptions)
PitchControl oluşturur.
new PitchControl(options?: PitchControlOptions)
Parametreler
- options
- PitchControlOptions
Denetim seçenekleri.
Yöntem Ayrıntıları
onAdd(Map, ControlOptions)
Eşlem'e eklendiğinde çağrılan denetim için başlatma yöntemi.
function onAdd(map: Map, options?: ControlOptions): HTMLElement
Parametreler
- map
- Map
Denetimin eklendiği harita.
- options
- ControlOptions
Bu denetim için ControlOptions.
Döndürülenler
HTMLElement
Denetimin haritasına yerleştirilecek HTMLElement.
onRemove()
function onRemove()
Devralınan Yöntemin Ayrıntıları
buildContainer<K>(Map, ControlStyle, string, K)
Denetim için en dıştaki kapsayıcıyı derleyin, otomatik stil için tüm dinleyiciler de dahil olmak üzere stil uygular.
function buildContainer<K>(map: Map, style: ControlStyle, ariaLabel?: string, tagName?: K): HTMLElementTagNameMap[K]
Parametreler
- map
- Map
- style
- ControlStyle
- ariaLabel
-
string
- tagName
-
K
Döndürülenler
HTMLElementTagNameMap[K]
ControlBase.buildContainer'danDevralındı