17 - Style Object Layers: Property-based Link coloring
This content is also available at learn.palantir.com ↗ and is presented here for accessibility purposes.
📖 Task Introduction
You can use object properties to visually enhance links between objects on your map. Here, you'll replace the existing airport-route link lines with connectors that are colored based on the number of cancellations that occur on the route.
🔨 Task Instructions
Hide the default airport-route link layer by clicking the "eye" icon that appears when hovering over the layer name.
Open the styling options for the Route object layer (the "paintbrush" icon).
Click the ⊕ Add styler button near the bottom of the configuration window and choose Line segment.
In the Color styling section, color by the Num Cancellations property using the Red color scheme.