Planar

It's a class that extends the Base class and adds a PlanarView to it

Constructor

new Planar(extent, optionsopt)

Parameters:
NameTypeAttributesDefaultDescription
extentitowns.Extent

Geographical bounding rectangle. Extent

optionsPlanarOption<optional>
{}

PlanarOption

Classes

Planar

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:
NameTypeDescription
valueboolean

true enable / false disable

onResize()

Resize Frame3D

render()

Render scene3D + labels