State

Harmoware-VIS State List

props

Type

Default

Description

animatePause

Boolean

false

The animation is paused by "true".

animateReverse

Boolean

false

Play back the animation with "true".

bounds

Object

※Below

Boundary location of the simulation area.

defaultPitch

Number

30

Default viewpoint pitch value.

defaultZoom

Number

11.1

Default perspective zoom value.

depotsBase

Object Array

[]

The format in which the data for the depot's location is posted. (details are as follows).

depotsData

Object Array

[]

This is the format for displaying the depot. (See below for details.)

getDepotsOptionFunc

Function

null

Function to extract customized data from the depot information.

Format <P>(props: P, i: number) => object

getMovesOptionFunc

Function

null

Function to extract customized data from moving object information.

Format <P>(props: P, i: number, j: number) => object

leading

Number

100

Time to be added before the simulation start time (in seconds)

movesbase

Object Array

[]

A format that contains location information and route data of a moving object. (details below).

movedData

Object Array

[]

This is the format for displaying a moving object. (See below for details).

ExtractedData

any

undefined

Data extracted by the getExtractedDataFunc function.

getExtractedDataFunc

Function

null

Function to extract the data to be displayed at each timing of the playback.

Format <P>(props: P) => any

clickedObject

Object Array

null

A reference to the selected object.

routePaths

Object Array

[]

Array of displayed route data. (more on that later).

secperhour

Number

180

Playback speed (sec/hr)

multiplySpeed

Number

20

Playback speed (multiply speed)

settime

Number

0

Time in regeneration (UNIX time)

timeBegin

Number

0

Simulation start time (UNIX time)

timeLength

Number

0

Simulation time length (seconds)

trailing

Number

180

Time to be added after the end of the simulation

(in seconds)

viewport

Object

※Below

Specify the viewport for map display (details below)

linemapData

Object

[]

Line drawing map data (see below for details)

loading

Boolean

false

"true" showing the loading icon.

inputFileName

Object

{}

The name of the input file (details are as follows)

noLoop

Boolean

false

"true" which extends the simulation time without looping.

initialViewChange

Boolean

true

"true" Automatic movement of the position after loading the movement data.

iconGradation

Boolean

false

Gradation of the icon color change.

※bounds

keys

Type

Default

Description

westlongitiude

number

0

westernmost longitude position

eastlongitiude

number

0

easternmost longitude position

southlatitude

number

0

southern latitude position

northlatitude

number

0

northern latitude position

※depotsBase

keys

Type

Description

longitude

number

Longitude position of the depot (deprecated)

latitude

number

Latitude position of the depot (deprecated)

position

number[]

=> Overrides above values.

Array of depot locations

[ longitude, latitude, [elevation] ]

...any key

any

Setting as necessary.

※depotsData

keys

Type

Description

position

number[]

Array of depot locations

[ longitude, latitude, [elevation] ]

...any key

any

From depotsBase and others.

Edit by overriding the "getDepotsOptionFunc" function.

#movesbase

keys

Type

Description

departuretime

number

Operation departure time (UNIX time) (unreferenced)

arrivaltime

number

Operation Arrival time (UNIX time) (unreferenced)

operation

Object array

Hourly location information and additional information.

├ elapsedtime

number

The elapsed time at the point of arrival. (UNIX time)

├ longitude

number

Longitude of the transit position. (deprecated)

├ latitude

number

Latitude of the transit location. (deprecated)

├ position

number[]

=> Overrides above values.

An array of transit positions

[ longitude, latitude, [elevation] ]

└ ...any key

any

Setting as necessary.

...any key

any

Setting as necessary.

※movedData

keys

Type

Description

position

number[]

Array of the display position of a moving object

[ longitude, latitude, [elevation] ]

sourcePosition

number[]

Array of source position

targetPosition

number[]

Array of target positions

sourceColor

number[]

move source position color [r, g, b, [a]] (Used in Arch Layer)

targetColor

number[]

move target position color [r, g, b, [a]] (Used in Arch Layer)

movesbaseidx

number

An index of the elements in the move base.

direction

number

Direction of movement. (North is zero.)

...any key

any

From movesbase.operation and others.

Edit by overriding the "getMovesOptionFunc" function.

※routePaths

keys

Type

Description

movesbaseidx

number

An index of the elements in the move base.

sourcePosition

number[]

Route line source position

[ longitude, latitude, [elevation] ]

targetPosition

number[]

Route line target position

[ longitude, latitude, [elevation] ]

color

number[]

Route line color [r, g, b, [a]]

※viewport

keys

Type

Default

Description

longitude

number

136.906428

map longitude

latitude

number

35.181453

map latitude

zoom

number

10

map zoom

maxZoom

number

18

map max Zoom

minZoom

number

5

map min Zoom

pitch

number

30

map pitch

bearing

number

0

map bearing

width

number

innerWidth

window width

height

number

innerHeight

window height

transitionDuration

number | 'auto'

undefined

transition duration

※LineMapData

keys

Type

Description

sourcePosition

number[]

map line source position

[ longitude, latitude, [elevation] ]

targetPosition

number[]

map line target position

[ longitude, latitude, [elevation] ]

color

number[]

map line color [r, g, b, [a]]

※inputFileName

keys

Type

Description

movesFileName

string

The file name selected in MovesInput. (for display)

depotsFileName

string

The file name selected in DepotsInput. (for display)

linemapFileName

string

The file name selected in LinemapInput. (for display)

...any key

any

Setting as necessary.

Last updated