# Interface: ThreeJsContext

# Table of contents

# Methods

# Methods

# Object3D

Object3D(options: any): any

# Parameters
Name Type
options any

Returns: any


# add

add(obj: any, layerId?: string, sourceId?: string): any

# Parameters
Name Type
obj any
layerId? string
sourceId? string

Returns: any


# clear

clear(layerId?: string, dispose?: boolean): any

# Parameters
Name Type
layerId? string
dispose? boolean

Returns: any


# createSkyLayer

createSkyLayer(): void

Returns: void


# createTerrainLayer

createTerrainLayer(): void

Returns: void


# defaultLights

defaultLights(): any

Returns: any


# dispose

dispose(): any

Returns: any


# extrusion

extrusion(options: any): any

# Parameters
Name Type
options any

Returns: any


# findParent3DObject

findParent3DObject(mesh: any): any

# Parameters
Name Type
mesh any

Returns: any


# getFeatureCenter

getFeatureCenter(feature: any, obj: any, level: number): any

# Parameters
Name Type
feature any
obj any
level number

Returns: any


# getObjectHeightOnFloor

getObjectHeightOnFloor(coords: any, obj: any, level: number): any

# Parameters
Name Type
coords any
obj any
level number

Returns: any


# getSunPosition

getSunPosition(date: any, coords: any): any

# Parameters
Name Type
date any
coords any

Returns: any


# getSunSky

getSunSky(date: any, sunPos: any): any

# Parameters
Name Type
date any
sunPos any

Returns: any


# getSunTimes

getSunTimes(date: any, coords: any): any

# Parameters
Name Type
date any
coords any

Returns: any


# label

label(options: any): any

# Parameters
Name Type
options any

Returns: any


# line

line(options: any): any

# Parameters
Name Type
options any

Returns: any


# memory

memory(): any

Returns: any


# programs

programs(): any

Returns: any


# projectToWorld

projectToWorld(coords: any): any

# Parameters
Name Type
coords any

Returns: any


# projectedUnitsPerMeter

projectedUnitsPerMeter(lat: any): any

# Parameters
Name Type
lat any

Returns: any


# queryRenderedFeatures

queryRenderedFeatures(point: any): any

# Parameters
Name Type
point any

Returns: any


# realSunlight

realSunlight(helper?: boolean): any

# Parameters
Name Type
helper? boolean

Returns: any


# remove

remove(obj: any): any

# Parameters
Name Type
obj any

Returns: any


# removeByName

removeByName(name: string): any

# Parameters
Name Type
name string

Returns: any


# removeLayer

removeLayer(layerId: string): any

# Parameters
Name Type
layerId string

Returns: any


# repaint

repaint(): void

Returns: void


# setBuildingShadows

setBuildingShadows(options: any): any

# Parameters
Name Type
options any

Returns: any


# setDefaultView

setDefaultView(options: any, defOptions: any): any

# Parameters
Name Type
options any
defOptions any

Returns: any


# setLayerHeigthProperty

setLayerHeigthProperty(layerId: string, level: number): any

# Parameters
Name Type
layerId string
level number

Returns: any


# setLayerZoomRange

setLayerZoomRange(layerId: string, minZoomLayer: number, maxZoomLayer: number): any

# Parameters
Name Type
layerId string
minZoomLayer number
maxZoomLayer number

Returns: any


# setLayoutProperty

setLayoutProperty(layerId: string, name: string, value: any): any

# Parameters
Name Type
layerId string
name string
value any

Returns: any


# setObjectsScale

setObjectsScale(): any

Returns: any


# setStyle

setStyle(styleId: string, options: any): any

# Parameters
Name Type
styleId string
options any

Returns: any


# setSunlight

setSunlight(newDate: any, coords: any): any

# Parameters
Name Type
newDate any
coords any

Returns: any


# sphere

sphere(options: any): any

# Parameters
Name Type
options any

Returns: any


# toggle

toggle(layerId: string, visible?: boolean): any

# Parameters
Name Type
layerId string
visible? boolean

Returns: any


# toggleLayer

toggleLayer(layerId: string, visible?: boolean): any

# Parameters
Name Type
layerId string
visible? boolean

Returns: any


# tooltip

tooltip(options: any): any

# Parameters
Name Type
options any

Returns: any


# tube

tube(options: any): any

# Parameters
Name Type
options any

Returns: any


# unprojectFromWorld

unprojectFromWorld(v3: any): any

# Parameters
Name Type
v3 any

Returns: any


# update

update(): any

Returns: any


# updateLightHelper

updateLightHelper(): any

Returns: any


# updateSunGround

updateSunGround(sunPos: any): any

# Parameters
Name Type
sunPos any

Returns: any


# updateSunSky

updateSunSky(sunPos: any): any

# Parameters
Name Type
sunPos any

Returns: any

vjmap / Exports / ThreeJsContextOptions