Optional
defaultThe default line color of trajectories, represented as a CSS color string.
Optional
drapeWhether these lines should be draped on top of the terrain or a 3D tiles mesh (or both).
{@link DrapeTarget.NOT_DRAPED}
2022.1
Optional
drapedWhether these lines should be draped on top of the terrain or not.
This property only exists for backwards compatibility. You should use drapeTarget instead.
false
is equivalent to DrapeTarget.NOT_DRAPED and true
is equivalent to
DrapeTarget.TERRAIN.
Optional
lineDetermines how lines between subsequent points will be interpreted.
Optional
lineThe line width, in pixels, to paint trajectories with.
1
Optional
outsideThe weight to apply to parts of lines outside of the configured time window.
Optional
propertiesThe list of property names that will be used in the propertyColorExpressions. If a property is ever to be used in the propertyColorExpressions, it must be listed in this array.
Optional
propertyAn array of objects describing a mapping of property values to colors.
Optional
selectionThe color to paint selected trajectories with, represented as a CSS color string.
Optional
timeA function that returns time as a number for a given point on a trajectory.
The user of this class is free to choose the range of time values. However the values should not be too big because they are internally converted to 32-bit floating-point numbers. For example do not use the time in milliseconds from epoch (e.g. 1970) but instead use the time in seconds from the start of the first day in your data set. If no timeProvider is passed, time filtering is disabled (timeWindow will be ignored). You can not modify the timeProvider after the TrajectoryPainter has been constructed.The feature for which to determine a time.
The shape for which to determine a time.
The index of the point in the shape for which to determine a time.
Optional
timeThe start / end value for time filtering as an array with two values.
An object literal containing the TrajectoryPainter constructor's parameters.