Interface InitControlSettings

Options for the WWTInstance constructor.

Hierarchy

  • InitControlSettings

Properties

elId?: string

The identifier of the DOM element to which to attach the control. If unspecified, defaults to "wwt".

freestandingAssetBaseurl?: string

This controls whether the engine is launched in "freestanding" mode, where no core worldwidetelescope.org APIs are relied upon. The initial view will consist of only black sky, and the 3D solar system mode will be unavailable. This value is a base URL for locating various engine static assets. The default used by WWT is https://web.wwtassets.org/engine/assets. You can use that value here to activate freestanding mode if you are comfortable depending on the existence of the wwtassets.org domain. Otherwise, you can provide your own asset baseurl here.

startInternalRenderLoop?: boolean

Whether to immediately launch the WWT engine's internal rendering loop. If unspecified, defaults to false.

startLatDeg?: number

The starting latitude (or declination) of the WWT view, in degrees.

startLngDeg?: number

The starting longitude (or right ascension) of the WWT view, in degrees.

The starting mode of the WWT view.

startZoomDeg?: number

The starting zoom level of the WWT view, in degrees.

Generated using TypeDoc