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

# Class: ArrowLine

animation.ArrowLine

# Table of contents

# Constructors

# Properties

# Methods

# Constructors

# constructor

new ArrowLine(opt_options)

# Parameters

Name Type Description
opt_options ArrowLineOptions

# Properties

# arrowStyle_

arrowStyle_: Function | ArrowOptions


# coordinates_

coordinates_: Coordinate[]


# feature_

feature_: Feature<LineString>


# fraction

fraction: number = 0


# interval_

interval_: number


# lineStyle_

lineStyle_: Object | Style | StyleFunction


# ready

Private ready: boolean = false


# source_

source_: VectorSource<any>


# speed

speed: number = 1


# timer_

timer_: any

# Methods

# dispose

dispose(): void

# Returns

void


# end

end(): void

# Returns

void


# getInterval

getInterval(): number

# Returns

number


# getLineStyle

getLineStyle(): Object | Style | StyleFunction

# Returns

Object | Style | StyleFunction


# getStyle_

getStyle_(startIndex): (feature: any, resolution: any) => any

# Parameters

Name Type
startIndex number

# Returns

fn

▸ (feature, resolution): any

# Parameters
Name Type
feature any
resolution any
# Returns

any


# init_

init_(): void

# Returns

void


# setArrowStyle

setArrowStyle(arrow): void

# Parameters

Name Type Description
arrow Function | ArrowOptions

# Returns

void


# setCoordinates

setCoordinates(coordinates): void

# Parameters

Name Type Description
coordinates any

# Returns

void


# setInterval

setInterval(interval): void

# Parameters

Name Type Description
interval number

# Returns

void


# setLineStyle

setLineStyle(style): void

# Parameters

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

# Returns

void


# setSource

setSource(source): void

# Parameters

Name Type Description
source any

# Returns

void


# start

start(): void

# Returns

void