BuildingDoors

new SuperMap3D.BuildingDoors(viewer)

Building entrance and exit display
Name Type Description
viewer Object optional Scene

Members

readonlydoorClickEvent : Event

Door click response event

Methods

blinkAllDoors()

All entrance blinking effects

blinkDoor(index)

Single entry blinking effect
Name Type Description
index Number optional Door Entity Index

blinkDoors(indexArray)

Multi-entry blinking effect
Name Type Description
indexArray Number optional Door Entity Index Array

createDoors()

Create entry effects
Name Type Description
doors.x Number optional The midpoint coordinate X of the bottom for the door entity
doors.y Number optional The midpoint coordinate Y of the bottom for the door entity
doors.z Number optional The midpoint coordinate Z of the bottom for the door entity
doors.radians Number optional The door entity rotates radian around the Z axis
doors.width Number optional Door entity width
doors.height Number optional Door entity height

flytoLocation()

Locate to the specified location
Name Type Description
option.lon Number optional Longitude
option.lat Number optional Latitude
option.height Number optional Height
option.heading Number Rotation around an axis perpendicular to the center of the Earth (or the geocentric axis)
option.pitch Number Rotate around the line of latitude
option.roll Number Rotate around the longitude line

removeDoors()

Remove entry effects