Skip to content

@jpmorganchase/anu / Exports / TextureGlobe

Class: TextureGlobe

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new TextureGlobe(name, layers, view, resolution, diameter, scene?): TextureGlobe

Parameters

NameType
namestring
layersTileLayer<OSM>[]
viewView
resolutionVector2
diameternumber
scene?Scene

Returns

TextureGlobe

Defined in

prefabs/Mapping/textureGlobe.ts:39

Properties

container

container: HTMLElement

Defined in

prefabs/Mapping/textureGlobe.ts:31


context

context: Context

Defined in

prefabs/Mapping/textureGlobe.ts:35


diameter

diameter: number

Defined in

prefabs/Mapping/textureGlobe.ts:36


layers

layers: TileLayer<OSM>[]

Defined in

prefabs/Mapping/textureGlobe.ts:27


lonLatToVector3

lonLatToVector3: Function

Defined in

prefabs/Mapping/textureGlobe.ts:37


map

map: Map

Defined in

prefabs/Mapping/textureGlobe.ts:30


mesh

mesh: Mesh

Defined in

prefabs/Mapping/textureGlobe.ts:34


name

name: string

Defined in

prefabs/Mapping/textureGlobe.ts:25


resolution

resolution: Vector2

Defined in

prefabs/Mapping/textureGlobe.ts:32


scene

Optional scene: Scene

Defined in

prefabs/Mapping/textureGlobe.ts:26


target

target: string

Defined in

prefabs/Mapping/textureGlobe.ts:28


texture

texture: DynamicTexture

Defined in

prefabs/Mapping/textureGlobe.ts:33


view

view: View

Defined in

prefabs/Mapping/textureGlobe.ts:29

Methods

createContainer

createContainer(): HTMLDivElement

Returns

HTMLDivElement

Defined in

prefabs/Mapping/textureGlobe.ts:55


createMesh

createMesh(): Mesh

Returns

Mesh

Defined in

prefabs/Mapping/textureGlobe.ts:94


createOLMap

createOLMap(): Map

Returns

Map

Defined in

prefabs/Mapping/textureGlobe.ts:66


createScales

createScales(c): Vector3

Parameters

NameType
cCoordinate

Returns

Vector3

Defined in

prefabs/Mapping/textureGlobe.ts:109


createTexture

createTexture(): DynamicTexture

Returns

DynamicTexture

Defined in

prefabs/Mapping/textureGlobe.ts:76