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

# Class: Track

animation.Track

# Hierarchy

  • BaseObject

    Track

# Table of contents

# Constructors

# Properties

# Methods

# Constructors

# constructor

new Track(opt_options)

# Parameters

Name Type
opt_options TrackOptions

# Overrides

OLObject.constructor

# Properties

# aId_

Private aId_: any


# coordinates_

Private coordinates_: Coordinate[]


# feature_

Private feature_: Feature<any> = null


# fraction_

Private fraction_: number = 0


# lineAnimationFeature_

Private lineAnimationFeature_: Feature<any> = null


# lineAnimationStyle_

Private lineAnimationStyle_: Style[] | StyleFunction


# lineStyle_

Private lineStyle_: Style[] | StyleFunction


# loop_

Private loop_: boolean


# pointAnimationFeature_

Private pointAnimationFeature_: Feature<any> = null


# pointAnimationStyle_

Private pointAnimationStyle_: Style[] | StyleFunction


# source_

Private source_: VectorSource<any>

# Methods

# animation_

Private animation_(): void

# Returns

void


# createPoints_

Private createPoints_(): Coordinate[]

# Returns

Coordinate[]


# end

end(): void

# Returns

void


# getCoordinate

getCoordinate(): Coordinate[]

# Returns

Coordinate[]


# getFeature

getFeature(): Feature<any>

# Returns

Feature<any>


# getFraction_

getFraction_(): number

# Returns

number


# getLineAnimationFeature

getLineAnimationFeature(): Feature<any>

# Returns

Feature<any>


# getLineAnimationStyle

getLineAnimationStyle(): Style[] | StyleFunction

# Returns

Style[] | StyleFunction


# getLineStyle

getLineStyle(): Style[] | StyleFunction

# Returns

Style[] | StyleFunction


# getLoop

getLoop(): boolean

# Returns

boolean


# getPointAnimationFeature

getPointAnimationFeature(): Feature<any>

# Returns

Feature<any>


# getPointAnimationStyle

getPointAnimationStyle(): Style[] | StyleFunction

# Returns

Style[] | StyleFunction


# getSource

getSource(): VectorSource<any>

# Returns

VectorSource<any>


# init_

Private init_(): void

# Returns

void


# renderLine_

Private renderLine_(coordinates, fraction, angle): void

# Parameters

Name Type Description
coordinates Coordinate[]
fraction number
angle number -

# Returns

void


# renderPoint_

Private renderPoint_(coordinates, fraction, angle): void

# Parameters

Name Type Description
coordinates Coordinate[]
fraction number
angle number -

# Returns

void


# setCoordinates

setCoordinates(coordinates): void

# Parameters

Name Type Description
coordinates Coordinate[]

# Returns

void


# setFraction

setFraction(fraction): void

# Parameters

Name Type Description
fraction number

# Returns

void


# setLineAnimationStyle

setLineAnimationStyle(style): void

# Parameters

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

# Returns

void


# setLineStyle

setLineStyle(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


# setPointAnimationStyle

setPointAnimationStyle(style): void

# Parameters

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

# Returns

void


# setSource

setSource(source): void

# Parameters

Name Type Description
source VectorSource<any>

# Returns

void


# start

start(): void

# Returns

void


# stop

stop(): void

# Returns

void