@gis-js/utilsol / Exports / animation / Flight
# Class: Flight
animation.Flight
# Hierarchy
BaseObject
↳
Flight
# Table of contents
# Constructors
# Properties
- aId_
- angle_
- animationArrow_
- endArrow_
- feature_
- fraction_
- from_
- lineAnimationFeature_
- lineAnimationStyle_
- lineStyle_
- loop_
- pointAnimationFeature_
- pointAnimationStyle_
- radius_
- ready
- smooth_
- source_
- space_
- to_
# Methods
- animation_
- createPoints_
- end
- getAngle
- getAnimationArrow
- getEndArrow
- getFeature
- getFraction_
- getFrom
- getLineAnimationFeature
- getLineAnimationStyle
- getLineStyle
- getLoop
- getPointAnimationFeature
- getPointAnimationStyle
- getRadius
- getSmooth
- getSource
- getSpace
- getTo
- initLineFeature_
- init_
- renderLine_
- renderPoint_
- setAngle
- setAnimationArrow
- setEndArrow
- setFraction
- setFrom
- setLineAnimationStyle
- setLineStyle
- setLoop
- setPointAnimationStyle
- setRadius
- setSmooth
- setSource
- setSpace
- setTo
- start
- stop
# Constructors
# constructor
• new Flight(opt_options
)
# Parameters
Name | Type |
---|---|
opt_options | FlightOptions |
# Overrides
OLObject.constructor
# Properties
# aId_
• Private
aId_: any
# angle_
• Private
angle_: number
# animationArrow_
• Private
animationArrow_: Function
| Boolean
| ArrowOptions
# endArrow_
• Private
endArrow_: Function
| Boolean
| ArrowOptions
# feature_
• Private
feature_: Feature
<any
> = null
# fraction_
• Private
fraction_: number
= 0
# from_
• Private
from_: Coordinate
# 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
# radius_
• Private
radius_: number
# ready
• Private
ready: boolean
= false
# smooth_
• Private
smooth_: number
# source_
• Private
source_: VectorSource
<any
>
# space_
• Private
space_: number
# to_
• Private
to_: Coordinate
# Methods
# animation_
▸ Private
animation_(): void
# Returns
void
# createPoints_
▸ Private
createPoints_(): Coordinate
[]
# Returns
Coordinate
[]
# end
▸ end(): void
# Returns
void
# getAngle
▸ getAngle(): number
# Returns
number
# getAnimationArrow
▸ getAnimationArrow(): Function
| Boolean
| ArrowOptions
# Returns
Function
| Boolean
| ArrowOptions
# getEndArrow
▸ getEndArrow(): Function
| Boolean
| ArrowOptions
# Returns
Function
| Boolean
| ArrowOptions
# getFeature
▸ getFeature(): Feature
<any
>
# Returns
Feature
<any
>
# getFraction_
▸ getFraction_(): number
# Returns
number
# getFrom
▸ getFrom(): Coordinate
# Returns
Coordinate
# 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
# getRadius
▸ getRadius(): number
# Returns
number
# getSmooth
▸ getSmooth(): number
# Returns
number
# getSource
▸ getSource(): VectorSource
<any
>
# Returns
VectorSource
<any
>
# getSpace
▸ getSpace(): number
# Returns
number
# getTo
▸ getTo(): Coordinate
# Returns
Coordinate
# initLineFeature_
▸ Private
initLineFeature_(): void
# Returns
void
# init_
▸ Private
init_(): void
# Returns
void
# renderLine_
▸ Private
renderLine_(coordinates
, fraction
): void
# Parameters
Name | Type | Description |
---|---|---|
coordinates | Coordinate [] | |
fraction | number |
# Returns
void
# renderPoint_
▸ Private
renderPoint_(coordinates
, fraction
): void
# Parameters
Name | Type | Description |
---|---|---|
coordinates | Coordinate [] | |
fraction | number |
# Returns
void
# setAngle
▸ setAngle(angle
): void
# Parameters
Name | Type | Description |
---|---|---|
angle | number |
# Returns
void
# setAnimationArrow
▸ setAnimationArrow(arrow
): void
# Parameters
Name | Type | Description |
---|---|---|
arrow | Function | Boolean | ArrowOptions |
# Returns
void
# setEndArrow
▸ setEndArrow(arrow
): void
# Parameters
Name | Type | Description |
---|---|---|
arrow | Function | Boolean | ArrowOptions |
# Returns
void
# setFraction
▸ setFraction(fraction
): void
# Parameters
Name | Type | Description |
---|---|---|
fraction | number |
# Returns
void
# setFrom
▸ setFrom(from
): void
# Parameters
Name | Type | Description |
---|---|---|
from | Coordinate |
# 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
# setRadius
▸ setRadius(radius
): void
# Parameters
Name | Type | Description |
---|---|---|
radius | number |
# Returns
void
# setSmooth
▸ setSmooth(smooth
): void
# Parameters
Name | Type | Description |
---|---|---|
smooth | number |
# Returns
void
# setSource
▸ setSource(source
): void
# Parameters
Name | Type | Description |
---|---|---|
source | VectorSource <any > |
# Returns
void
# setSpace
▸ setSpace(space
): void
# Parameters
Name | Type | Description |
---|---|---|
space | number |
# Returns
void
# setTo
▸ setTo(to
): void
# Parameters
Name | Type | Description |
---|---|---|
to | Coordinate |
# Returns
void
# start
▸ start(): void
# Returns
void
# stop
▸ stop(): void
# Returns
void