Skip to content

@jpmorganchase/anu / Exports / TextureMap

Class: TextureMap

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new TextureMap(name, layers, view, resolution, size, scene?): TextureMap

Parameters

NameType
namestring
layersTileLayer<OSM>[]
viewView
resolutionObject
resolution.heightnumber
resolution.widthnumber
sizenumber
scene?Scene

Returns

TextureMap

Defined in

prefabs/Mapping/textureMap.ts:39

Properties

container

container: HTMLElement

Defined in

prefabs/Mapping/textureMap.ts:30


context

context: Context

Defined in

prefabs/Mapping/textureMap.ts:34


layers

layers: TileLayer<OSM>[]

Defined in

prefabs/Mapping/textureMap.ts:26


map

map: Map

Defined in

prefabs/Mapping/textureMap.ts:29


mesh

mesh: Mesh

Defined in

prefabs/Mapping/textureMap.ts:33


name

name: string

Defined in

prefabs/Mapping/textureMap.ts:24


resolution

resolution: Object

Type declaration

NameType
heightnumber
widthnumber

Defined in

prefabs/Mapping/textureMap.ts:31


scaleLat

scaleLat: any

Defined in

prefabs/Mapping/textureMap.ts:37


scaleLon

scaleLon: any

Defined in

prefabs/Mapping/textureMap.ts:36


scene

Optional scene: Scene

Defined in

prefabs/Mapping/textureMap.ts:25


size

size: number

Defined in

prefabs/Mapping/textureMap.ts:35


target

target: string

Defined in

prefabs/Mapping/textureMap.ts:27


texture

texture: DynamicTexture

Defined in

prefabs/Mapping/textureMap.ts:32


view

view: View

Defined in

prefabs/Mapping/textureMap.ts:28

Methods

createContainer

createContainer(): HTMLDivElement

Returns

HTMLDivElement

Defined in

prefabs/Mapping/textureMap.ts:64


createMesh

createMesh(): GroundMesh

Returns

GroundMesh

Defined in

prefabs/Mapping/textureMap.ts:105


createOLMap

createOLMap(): Map

Returns

Map

Defined in

prefabs/Mapping/textureMap.ts:75


createScales

createScales(): ScaleLinear<number, number, never>[]

Returns

ScaleLinear<number, number, never>[]

Defined in

prefabs/Mapping/textureMap.ts:123


createTexture

createTexture(): DynamicTexture

Returns

DynamicTexture

Defined in

prefabs/Mapping/textureMap.ts:85


keyboardControls

keyboardControls(scene): TextureMap

Parameters

NameType
sceneScene

Returns

TextureMap

Defined in

prefabs/Mapping/textureMap.ts:139