Winter Cardinal UI - v0.442.0 / DMapTilePyramidImpl

Class: DMapTilePyramidImpl

Hierarchy

Implements

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new DMapTilePyramidImpl(options): DMapTilePyramidImpl

Parameters

Name Type
options DMapTilePyramidOptions

Returns

DMapTilePyramidImpl

Overrides

utils.EventEmitter.constructor

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:35

Properties

_builder

Protected Readonly _builder: DMapTileUrlBuilder

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:20


_canvas

Protected Readonly _canvas: DBase<DThemeBase, DBaseOptions<DThemeBase, any>>

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:19


_coordinate

Protected _coordinate: DMapCoordinate

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:28


_fitBound

Protected _fitBound: () => void

Type declaration

▸ (): void

Returns

void

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:30


_fitBoundTimeout

Protected _fitBoundTimeout: undefined | number

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:31


_fitThrottle

Protected _fitThrottle: number

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:33


_fitThrottledBound

Protected _fitThrottledBound: () => void

Type declaration

▸ (): void

Returns

void

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:32


_mapping

Protected _mapping: DMapTileMapping

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:26


_mappingInternal

Protected _mappingInternal: DMapTileMappingInternal

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:27


_maxZ

Protected _maxZ: number

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:25


_minZ

Protected _minZ: number

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:24


_onLoadedBound

Protected _onLoadedBound: () => void

Type declaration

▸ (): void

Returns

void

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:29


_planes

Protected Readonly _planes: (undefined | DMapTilePlane)[]

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:21


_tz

Protected _tz: number

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:23


_z

Protected _z: number

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:22


WORK_LONLAT

Static Protected WORK_LONLAT: Point

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:17

Accessors

coordinate

get coordinate(): DMapCoordinate

Returns

DMapCoordinate

Implementation of

DMapTilePyramid.coordinate

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:67


mapping

get mapping(): DMapTileMapping

Returns

DMapTileMapping

Implementation of

DMapTilePyramid.mapping

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:117

set mapping(mapping): void

Parameters

Name Type
mapping DMapTileMapping

Returns

void

Implementation of

DMapTilePyramid.mapping

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:121

Methods

addListener

addListener(event, fn, context?): this

Alias method for on

Parameters

Name Type
event string | symbol
fn Function
context? any

Returns

this

Implementation of

DMapTilePyramid.addListener

Inherited from

utils.EventEmitter.addListener

Defined in

node_modules/pixi.js/pixi.js.d.ts:25495


cleanup

cleanup(): void

Returns

void

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:273


destroy

destroy(): this

Returns

this

Implementation of

DMapTilePyramid.destroy

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:306


destroyPlanesAfter

destroyPlanesAfter(tz, planes): void

Parameters

Name Type
tz number
planes (undefined | DMapTilePlane)[]

Returns

void

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:263


destroyPlanesBefore

destroyPlanesBefore(tz, planes): void

Parameters

Name Type
tz number
planes (undefined | DMapTilePlane)[]

Returns

void

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:253


emit

emit(event, ...args): boolean

Calls each of the listeners registered for a given event.

Parameters

Name Type Description
event string | symbol The event name.
...args any[] Arguments that are passed to registered listeners

Returns

boolean

true if the event had listeners, else false.

Implementation of

DMapTilePyramid.emit

Inherited from

utils.EventEmitter.emit

Defined in

node_modules/pixi.js/pixi.js.d.ts:25441


eventNames

eventNames(): (string | symbol)[]

Return an array listing the events for which the emitter has registered listeners.

Returns

(string | symbol)[]

Implementation of

DMapTilePyramid.eventNames

Inherited from

utils.EventEmitter.eventNames

Defined in

node_modules/pixi.js/pixi.js.d.ts:25415


fit

fit(): this

Returns

this

Implementation of

DMapTilePyramid.fit

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:217


fitThrottled

fitThrottled(): void

Returns

void

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:71


listenerCount

listenerCount(event): number

Return the number of listeners listening to a given event.

Parameters

Name Type Description
event string | symbol The event name.

Returns

number

Implementation of

DMapTilePyramid.listenerCount

Inherited from

utils.EventEmitter.listenerCount

Defined in

node_modules/pixi.js/pixi.js.d.ts:25432


listeners

listeners(event): Function[]

Return the listeners registered for a given event.

Parameters

Name Type Description
event string | symbol The event name.

Returns

Function[]

Implementation of

DMapTilePyramid.listeners

Inherited from

utils.EventEmitter.listeners

Defined in

node_modules/pixi.js/pixi.js.d.ts:25424


move

move(scale, lon0, lat0, lon1, lat1): this

Parameters

Name Type
scale number
lon0 number
lat0 number
lon1 number
lat1 number

Returns

this

Implementation of

DMapTilePyramid.move

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:191


newPlane

newPlane(tz): DMapTilePlane

Parameters

Name Type
tz number

Returns

DMapTilePlane

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:145


off

off(event, fn?, context?, once?): this

Alias method for removeListener

Parameters

Name Type
event string | symbol
fn? Function
context? any
once? boolean

Returns

this

Implementation of

DMapTilePyramid.off

Inherited from

utils.EventEmitter.off

Defined in

node_modules/pixi.js/pixi.js.d.ts:25489


on

on(event, fn, context?): this

Add a listener for a given event.

Parameters

Name Type Description
event string | symbol The event name.
fn Function The listener function.
context? any The context to invoke the listener with.

Returns

this

this.

Implementation of

DMapTilePyramid.on

Inherited from

utils.EventEmitter.on

Defined in

node_modules/pixi.js/pixi.js.d.ts:25452


onLoaded

onLoaded(): void

Returns

void

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:301


once

once(event, fn, context?): this

Add a one-time listener for a given event.

Parameters

Name Type Description
event string | symbol The event name.
fn Function The listener function.
context? any The context to invoke the listener with.

Returns

this

this.

Implementation of

DMapTilePyramid.once

Inherited from

utils.EventEmitter.once

Defined in

node_modules/pixi.js/pixi.js.d.ts:25463


removeAllListeners

removeAllListeners(event?): this

Remove all listeners, or those of the specified event.

Parameters

Name Type Description
event? string | symbol The event name.

Returns

this

this.

Implementation of

DMapTilePyramid.removeAllListeners

Inherited from

utils.EventEmitter.removeAllListeners

Defined in

node_modules/pixi.js/pixi.js.d.ts:25483


removeListener

removeListener(event, fn?, context?, once?): this

Remove the listeners of a given event.

Parameters

Name Type Description
event string | symbol The event name.
fn? Function Only remove the listeners that match this function.
context? any Only remove the listeners that have this context.
once? boolean Only remove one-time listeners.

Returns

this

this.

Implementation of

DMapTilePyramid.removeListener

Inherited from

utils.EventEmitter.removeListener

Defined in

node_modules/pixi.js/pixi.js.d.ts:25475


render

render(renderer): void

Parameters

Name Type
renderer Renderer

Returns

void

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:156


toMapping

toMapping(canvas, mapping, coordinate): DMapTileMappingInternal

Parameters

Name Type
canvas DBase<DThemeBase, DBaseOptions<DThemeBase, any>>
mapping DMapTileMapping
coordinate DMapCoordinate

Returns

DMapTileMappingInternal

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:77


toTileZ

toTileZ(tz): number

Parameters

Name Type
tz number

Returns

number

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:179


toZ

toZ(scale): number

Parameters

Name Type
scale number

Returns

number

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:187


updateTransform

updateTransform(): void

Returns

void

Defined in

src/main/typescript/wcardinal/ui/d-map-tile-pyramid-impl.ts:183