#StartupOptions : Object
The optional settings which will be used to create an Engine
object
Properties
Name | Type | Default | Description |
---|---|---|---|
apiKey | string |
your publishable API key (see Cloud API integration) | |
support3d | boolean |
false |
option to switch in the 2d diagram and 3d diagram |
defaultShow3d | boolean |
false |
option to show the 3d diagram from the beginning |
eventState | EventState |
option to control event | |
imageUrl | string |
If you load data from the cloud, ignore it or else if you load data from your own background, required to set the plan image URL |
|
margin | number |
5 |
the diagram margin. unit: pixel. |
openDoor | boolean |
false |
option to initialize the door open status |
panZoom | boolean |
true |
option to disable panning and zooming |
viewSetting | ViewSetting |
option to set the view setting |