Package-level declarations

Types

Link copied to clipboard
class AnimatorSync(val timeline: Timeline) : EventDispatcher

Synchronizes a map timeline with the loading state of the individual animators for each animatable layer that is active on a map.

Link copied to clipboard
Link copied to clipboard
typealias AnyTimeSeries = TimeSeries<Data>
Link copied to clipboard
Link copied to clipboard
class BitmapDrawable(val image: RGBAImage?, var texture: Texture?) : AnyBitmapDrawable, Disposable
Link copied to clipboard
class BitmapTimeSeriesData<Drawable : AnyBitmapDrawable>(seriesData: <Error class: unknown class><TimeIntervalKey, Drawable>?, val size: Size, validIntervals: List<TimeInterval>) : Disposable
Link copied to clipboard
interface Disposable
Link copied to clipboard
data class Framebuffer(var id: Int? = null) : Disposable
Link copied to clipboard
class Queues(val primary: Queue<Any>, val background: QueueCollection<Any>)
Link copied to clipboard
data class RGBAImage(val rawData: ByteArray, val width: Int, val height: Int)
Link copied to clipboard
Link copied to clipboard
data class Texture(val image: RGBAImage?, var id: Int? = null) : Disposable
Link copied to clipboard

A TimeSeriesDataProvider class that handles loading and configuring time series data for tile layers.

Link copied to clipboard
data class TileInterval(val coord: TileCoord, val intervals: List<TimeInterval>)
Link copied to clipboard
Link copied to clipboard
typealias TimeInterval = Long
Link copied to clipboard
Link copied to clipboard
data class TimeRange(val start: Date, val end: Date)

A type that represents a time range.

Link copied to clipboard
class TimeSeries<Data>(data: HashMap<TimeIntervalKey, Data>? = null)

A class that represents a time series of data.

Link copied to clipboard
class TimeSeriesAnimatorOptions(passedMode: TimeClampMode) : TimeAnimationOptions

Options for configuring a TimeSeriesAnimator.

Link copied to clipboard
abstract class TimeSeriesDataProvider<TileLayer>(val layer: TileLayer) : EventDispatcher

A helper class that performs remote data loading requests for data required by a TimeSeriesAnimator instance. An instance of this class must provide a loader function which is responsible for performing the data request and preparing it for the requested time intervals from the series.

Link copied to clipboard
class TimeSeriesEntry<Data>(var data: Data?)

A class that represents a time series data entry.

Link copied to clipboard
class TimeSeriesIntervalItem(val interval: TimeInterval = 0, val index: Int = 0)
Link copied to clipboard

Defines the mode used when evaluating a layer's data based on time. Layers that aren't time-specific should use a value of none.

Link copied to clipboard
Link copied to clipboard
class TSIntervalState(val time: TSTime, val data: TSData)
Link copied to clipboard

Properties

Link copied to clipboard
const val MAX_REQUEST_INTERVALS: Int = 6

Functions

Link copied to clipboard
fun createTileIntervalChunks(coordsToRequest: MutableList<TileInterval>, maxIntervalsPerRequest: Int, interleaved: Boolean): MutableList<MutableList<TileInterval>>

Breaks up the intervals into smaller chunks for the requests.

Link copied to clipboard

Sorts an array of tile interval chunks so that we load those in the middle of each chunk first.