Skip to content

worldwind-ui API / worldwind-kit / timeDimensionIndexOf

Function: timeDimensionIndexOf() ​

timeDimensionIndexOf(dimension, date): number

Defined in: kit/src/time.ts:283

The step index nearest to an instant.

Parameters ​

dimension ​

TimeDimension

date ​

Date

Returns ​

number

MIT licensed. Not affiliated with NASA; WorldWind is NASA's open-source virtual globe.