Parameterized Lines

The Parameterized Lines sample illustrates how to flexibly style and filter polylines via a dedicated painter. Any attribute can be used to thematically style the data. All calculations are performed client-side.

The sample shows a dataset of flight to and from New York.
Each flight has a couple of properties:

Each flight also has properties at each point on its line, representing the state of the aircraft at that time:

The buttons allow you to choose different visualization styles.

For each mode, you tweak the visualization using the UI.
Also for each mode can enable density painting.

See ParameterizedLinePainter for details on how to use this kind of styling.