Class: Catalog

Catalog(options)

new Catalog(options)

Represents a catalog with configurable options for display and interaction.
Parameters:
Name Type Description
options CatalogOptions Configuration options for the catalog.
Source:
Example
const catalogOptions = {
  url: "https://example.com/catalog",
  name: "My Catalog",
  color: "#ff0000",
  sourceSize: 10,
  markerSize: 15,
  shape: "circle",
  limit: 1000,
  onClick: (source) => { /* handle source click * },
  readOnly: true,
  raField: "ra",
  decField: "dec",
  filter: (source) => source.mag < 15,
  selectionColor: "#00ff00",
  hoverColor: "#ff00ff",
  displayLabel: true,
  labelColor: "#00ff00",
  labelFont: "12px Arial"
};
const myCatalog = new Catalog(catalogOptions);