@gis-js/utilsol / Exports / animation / Radar

# Class: Radar

animation.Radar

# Hierarchy

  • BaseObject

    Radar

# Table of contents

# Constructors

# Properties

# Methods

# Constructors

# constructor

new Radar(opt_options)

# Parameters

Name Type
opt_options RadarOptions

# Overrides

OLObject.constructor

# Properties

# aId_

Private aId_: any


# arcAngle_

Private arcAngle_: number


# arcFeatures_

Private arcFeatures_: Feature<Polygon>[]


# arcStyle_

Private arcStyle_: Style[] | StyleFunction


# centerFeature_

Private centerFeature_: Feature<Point>


# centerStyle_

Private centerStyle_: Style[] | StyleFunction


# center_

Private center_: Coordinate


# circleFeature_

Private circleFeature_: Feature<Circle>


# circleStyle_

Private circleStyle_: Style[] | StyleFunction


# currentAngle_

Private currentAngle_: number = 0


# loop_

Private loop_: boolean


# period_

Private period_: number


# radius_

Private radius_: number


# ready

Private ready: boolean = false


# source_

Private source_: VectorSource<any>


# startAngle_

Private startAngle_: number

# Methods

# animation_

animation_(): void

# Returns

void


# end

end(): void

# Returns

void


# getArcAngle

getArcAngle(): number

# Returns

number


# getArcFeatures

getArcFeatures(): Feature<any>[]

# Returns

Feature<any>[]


# getArcStyle

getArcStyle(): Style[] | StyleFunction

# Returns

Style[] | StyleFunction


# getCenetr

getCenetr(): Coordinate

# Returns

Coordinate


# getCenterFeature

getCenterFeature(): Feature<any>

# Returns

Feature<any>


# getCenterStyle

getCenterStyle(): Style[] | StyleFunction

# Returns

Style[] | StyleFunction


# getCircleFeature

getCircleFeature(): Feature<any>

# Returns

Feature<any>


# getCircleStyle

getCircleStyle(): Style[] | StyleFunction

# Returns

Style[] | StyleFunction


# getCurrentAngle

getCurrentAngle(): number

# Returns

number


# getLoop

getLoop(): boolean

# Returns

boolean


# getPeriod

getPeriod(): number

# Returns

number


# getRadius

getRadius(): number

# Returns

number


# getSource

getSource(): VectorSource<any>

# Returns

VectorSource<any>


# getStartAngle

getStartAngle(): number

# Returns

number


# init_

init_(redraw?): void

# Parameters

Name Type Default value Description
redraw boolean false

# Returns

void


# renderArc_

renderArc_(redraw?): void

# Parameters

Name Type Default value Description
redraw boolean false

# Returns

void


# renderCenter_

renderCenter_(redraw?): void

# Parameters

Name Type Default value Description
redraw boolean false

# Returns

void


# renderCircle_

renderCircle_(redraw?): void

# Parameters

Name Type Default value Description
redraw boolean false

# Returns

void


# setArcAngle

setArcAngle(arcAngle): void

# Parameters

Name Type Description
arcAngle number

# Returns

void


# setArcStyle

setArcStyle(style): void

# Parameters

Name Type Description
style Object | Style | Style[] | StyleFunction

# Returns

void


# setCenter

setCenter(center): void

# Parameters

Name Type Description
center Coordinate

# Returns

void


# setCenterStyle

setCenterStyle(style): void

# Parameters

Name Type Description
style Object | Style | Style[] | StyleFunction

# Returns

void


# setCircleStyle

setCircleStyle(style): void

# Parameters

Name Type Description
style Object | Style | Style[] | StyleFunction

# Returns

void


# setLoop

setLoop(loop): void

# Parameters

Name Type Description
loop boolean

# Returns

void


# setPeriod

setPeriod(period): void

# Parameters

Name Type Description
period number

# Returns

void


# setRadius

setRadius(radius): void

# Parameters

Name Type Description
radius number

# Returns

void


# setSource

setSource(source): void

# Parameters

Name Type Description
source VectorSource<any>

# Returns

void


# setStartAngle

setStartAngle(startAngel): void

# Parameters

Name Type
startAngel number

# Returns

void


# start

start(): void

# Returns

void