Class: StarFieldLayer

StarFieldLayer(starDataSource)

Provides a layer showing stars, and the Sun around the Earth

Constructor

new StarFieldLayer(starDataSource)

Parameters:
Name Type Description
starDataSource URL optional url for the stars data
Source:

Extends

  • Layer

Members

showSun :Boolean

Indicates weather to show or hide the Sun
Type:
  • Boolean
Default Value:
  • true
Source:

sunSize :Number

The size of the Sun in pixels. This can not exceed the maximum allowed pointSize of the GPU. A warning will be given if the size is too big and the allowed max size will be used.
Type:
  • Number
Default Value:
  • 128
Source: