Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MapView

Hierarchy

Implemented by

Index

Properties

anchor

anchor: PointR2

bounds

bounds: BoxR2

canvasView

canvasView: CanvasView | null

culled

culled: boolean

hidden

hidden: boolean

hitBounds

hitBounds: BoxR2 | null

pixelRatio

pixelRatio: number

projection

projection: MapProjection | null

renderingContext

renderingContext: RenderingContext | null

viewController

viewController: MapViewController | null

zoom

zoom: number

Static NeedsAnimate

NeedsAnimate: number = 1 << 1

Static NeedsCompute

NeedsCompute: number = 1 << 0

Static NeedsLayout

NeedsLayout: number = 1 << 2

Static NeedsRender

NeedsRender: number = 1 << 4

Static NeedsScroll

NeedsScroll: number = 1 << 3

Static UpdateFlagsMask

UpdateFlagsMask: number = (1 << 5) - 1

Accessors

appView

childViews

  • get childViews(): ReadonlyArray<View>

clientBounds

  • get clientBounds(): BoxR2

clientTransform

pageBounds

  • get pageBounds(): BoxR2

pageTransform

parentTransform

parentView

  • get parentView(): View | null

popoverBounds

  • get popoverBounds(): BoxR2

updateTime

  • get updateTime(): number

viewIdiom

viewObservers

viewport

Methods

Abstract addViewObserver

animate

Abstract appendChildView

  • appendChildView(childView: View): void

Abstract cascadeMount

  • cascadeMount(): void

Abstract cascadeUnmount

  • cascadeUnmount(): void

Abstract cascadeUpdate

  • cascadeUpdate(updateFlags: number, viewContext: ViewContext): void

childViewContext

Protected didAddViewObserver

Protected didCompute

Protected didInsertChildView

  • didInsertChildView(childView: View, targetView: View | null | undefined): void

Protected didLayout

Protected didMount

  • didMount(): void

Protected didObserve

  • didObserve(callback: (this: this, viewObserver: ViewObserver) => void): void

Protected didRemoveChildView

  • didRemoveChildView(childView: View): void

Protected didRemoveViewObserver

Protected didScroll

Protected didSetKey

  • didSetKey(key: string | null): void

Protected didSetParentView

  • didSetParentView(parentView: View | null): void

Protected didSetViewController

Protected didUnmount

  • didUnmount(): void

Protected didUpdate

Abstract dispatchEvent

  • dispatchEvent(event: Event): boolean

getChildView

  • getChildView(key: string): View | null

hitTest

Abstract insertChildView

  • insertChildView(childView: View, targetView: View | null): void

isMounted

  • isMounted(): boolean

isVisible

  • isVisible(): boolean

Abstract key

  • key(): string | null
  • key(key: string | null): this

needsUpdate

  • needsUpdate(updateFlags: number, viewContext: MapViewContext): number

Abstract off

  • off(type: string, listener: EventListenerOrEventListenerObject, options?: EventListenerOptions | boolean): this

Abstract on

  • on(type: string, listener: EventListenerOrEventListenerObject, options?: AddEventListenerOptions | boolean): this

Protected onAddViewObserver

Protected onCompute

Protected onInsertChildView

  • onInsertChildView(childView: View, targetView: View | null | undefined): void

Protected onLayout

Protected onMount

  • onMount(): void

Protected onRemoveChildView

  • onRemoveChildView(childView: View): void

Protected onRemoveViewObserver

Protected onScroll

Protected onSetKey

  • onSetKey(key: string | null): void

Protected onSetParentView

  • onSetParentView(parentView: View | null): void

Protected onSetViewController

Protected onUnmount

  • onUnmount(): void

Protected onUpdate

Abstract prependChildView

  • prependChildView(childView: View): void

Abstract remove

  • remove(): void

Abstract removeAll

  • removeAll(): void

Abstract removeChildView

  • removeChildView(childView: View): void

Abstract removeViewObserver

requestUpdate

  • requestUpdate(updateFlags: number, immediate: boolean): void

requireUpdate

  • requireUpdate(updateFlags: number, immediate?: boolean): void

setAnchor

setBounds

  • setBounds(bounds: BoxR2): void

Abstract setChildView

  • setChildView(key: string, newChildView: View | null): View | null

setCulled

  • setCulled(culled: boolean): void

setHidden

  • setHidden(hidden: boolean): void

Abstract setViewController

Protected willAddViewObserver

Protected willCompute

Protected willInsertChildView

  • willInsertChildView(childView: View, targetView: View | null | undefined): void

Protected willLayout

Protected willMount

  • willMount(): void

Protected willObserve

  • willObserve(callback: (this: this, viewObserver: ViewObserver) => void): void

Protected willRemoveChildView

  • willRemoveChildView(childView: View): void

Protected willRemoveViewObserver

Protected willScroll

Protected willSetKey

  • willSetKey(key: string | null): void

Protected willSetParentView

  • willSetParentView(parentView: View | null): void

Protected willSetViewController

Protected willUnmount

  • willUnmount(): void

Protected willUpdate

Static create

Static fromNode