Options
All
  • Public
  • Public/Protected
  • All
Menu

This class holds basic information about an imageset.

Discover imagesets through the WWTAwareComponent.wwtAvailableImagesets state variable. In standard practice there will be hundreds of available imagesets of many different kinds.

Imagesets may be uniquely identified by their associated image data url. (If you really need to have multiple imagesets associated with the same URL, add a #fragment to the end.)

Hierarchy

  • ImagesetInfo

Index

Constructors

Properties

Methods

Constructors

constructor

  • new ImagesetInfo(url: string, name: string, type: ImageSetType, description: string, extension: string, id?: null | string): ImagesetInfo

Properties

description

description: string

An (application-specific) string giving some additional information about the imageset.

extension

extension: string

The image filename extension(s) associated with this imageset.

May include multiple extensions separated by spaces. May also start with a leading period.

id

id: null | string

The internal GUID of the layer, if it is a HiPS layer

name

name: string

The user-facing name of the imageset.

type

type: ImageSetType

The type of the imageset: panorama, sky, ...

url

url: string

The URL of the image data.

Methods

Static fromImageset

Generated using TypeDoc