A command to center the view on a new set of coordinates.

Hierarchy

  • CenterOnCoordinatesMessage

Properties

Properties

dec: number

The declination to center on, in degrees

event: "center_on_coordinates"

The tag identifying this message type.

fov: number

The field-of-view height (zoom level) to adopt, in degrees

instant: boolean

Whether the view should instantly snap to the specified location, or move gradually.

Because WWT must download imagery on-the-fly as it moves to new locations, instant movement can result in a somewhat unpleasant user experience as new low-resolution data have to be tiled in.

ra: number

The right ascension to center on, in degrees

roll?: number

Optional, The roll of the camera, in degrees

Generated using TypeDoc