Constructor
new Planar(extent, optionsopt)
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
extent | itowns. | Geographical bounding rectangle. Extent | ||
options | PlanarOption | <optional> | {} |
Classes
Members
camera :THREE.PerspectiveCamera
Type:
- THREE.
PerspectiveCamera
directionalLight :THREE.DirectionalLight
Type:
- THREE.
DirectionalLight
itownsView :itowns.PlanarView
planar view
Type:
- itowns.
PlanarView
notifyChangeToItownsView :function
Type:
- function
renderer :THREE.WebGLRenderer
Type:
- THREE.
WebGLRenderer
scene :THREE.Scene
Type:
- THREE.
Scene
sceneConfig :SceneConfig
Type:
- SceneConfig
Methods
dispose()
Dispose Frame3D
enableItownsViewRendering(value)
Disable/enable itowns rendering from itowns.mainLoop
Parameters:
Name | Type | Description |
---|---|---|
value | boolean | true enable / false disable |
onResize()
Resize Frame3D
render()
Render scene3D + labels