Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • PointOfInterestStyleDto

Index

Constructors

constructor

  • new PointOfInterestStyleDto(pointSize?: number, pointColor?: string, hoverPointColor?: string, pulseColor?: string, pulseMinSize?: number, pulseMaxSize?: number, pulseThickness?: number, pulseSpeed?: number, textColor?: string, hoverTextColor?: string, textSize?: number, textFontWeight?: number, textBackgroundColor?: string, textBackgroundOpacity?: number, textBackgroundStroke?: boolean, textBackgroundStrokeThickness?: number, textBackgroundRadius?: number, textPosition?: topBottomEnum, stableSize?: boolean, alwaysOnTop?: boolean): PointOfInterestStyleDto
  • Parameters

    • Optional pointSize: number
    • Optional pointColor: string
    • Optional hoverPointColor: string
    • Optional pulseColor: string
    • Optional pulseMinSize: number
    • Optional pulseMaxSize: number
    • Optional pulseThickness: number
    • Optional pulseSpeed: number
    • Optional textColor: string
    • Optional hoverTextColor: string
    • Optional textSize: number
    • Optional textFontWeight: number
    • Optional textBackgroundColor: string
    • Optional textBackgroundOpacity: number
    • Optional textBackgroundStroke: boolean
    • Optional textBackgroundStrokeThickness: number
    • Optional textBackgroundRadius: number
    • Optional textPosition: topBottomEnum
    • Optional stableSize: boolean
    • Optional alwaysOnTop: boolean

    Returns PointOfInterestStyleDto

Properties

alwaysOnTop

alwaysOnTop: boolean

Whether the point of interest should always render on top of other objects

default

false

Optional hoverPointColor

hoverPointColor: string

Color of the central point on hover

default

#0000ff

Optional hoverPulseColor

hoverPulseColor: string

Hover color of the animated pulse

default

#0000ff

Optional hoverTextColor

hoverTextColor: string

Color of the text label on hover

default

#0000ff

Optional pointColor

pointColor: string

Color of the central point

default

#ffffff

Optional pointSize

pointSize: number

Diameter of the central point in pixels

default

20

Optional pulseColor

pulseColor: string

Color of the animated pulse

default

#ffffff

Optional pulseMaxSize

pulseMaxSize: number

Largest diameter of the pulse in pixels

default

50

Optional pulseMinSize

pulseMinSize: number

Smallest diameter of the pulse in pixels

default

20

Optional pulseSpeed

pulseSpeed: number

Speed multiplier for the pulse animation

default

3

Optional pulseThickness

pulseThickness: number

Thickness of the pulse ring in pixels

default

2

stableSize

stableSize: boolean

Whether the entire point of interest should maintain stable size regardless of camera distance

default

true

Optional textBackgroundColor

textBackgroundColor: string

Background color of text label

default

#000000

textBackgroundOpacity

textBackgroundOpacity: number

Opacity of text background

default

0.0

minimum

0

maximum

1

step

0.1

textBackgroundRadius

textBackgroundRadius: number

Corner radius for text background rounding

default

40

minimum

0

maximum

100

step

5

textBackgroundStroke

textBackgroundStroke: boolean

Whether to show stroke around text background

default

false

textBackgroundStrokeThickness

textBackgroundStrokeThickness: number

Thickness of the stroke around text background

default

8

minimum

1

maximum

20

step

1

Optional textColor

textColor: string

Color of the text label

default

#ffffff

Optional textFontWeight

textFontWeight: number

Font weight of the text label

default

400

minimum

100

maximum

900

step

100

textPosition

textPosition: topBottomEnum

Position of the text label relative to the point in screen space (top or bottom)

default

bottom

Optional textSize

textSize: number

Font size of the text label in pixels

default

14

Generated using TypeDoc