This content is also available at learn.palantir.com ↗ and is presented here for accessibility purposes.
You may be wondering, “why did I need to create [o] Filtered Flight Alerts for Map
when I could have just configured a single variable for [o] Filtered Airports for Map
?” In short, you'll soon be creating a metric card visual for which you'll want the [o] Filtered Flight Alerts for Map
variable separate from [o] Filtered Airports for Map
.
Now that you have your object set variables established, it’s time to plug them into a new point-based data layer.
Open the main map widget configuration page and click ⊕ Add Data layer configuration.
Click into the New Data Layer block that appears.
Apply the following settings in the panel, leaving all others alone:
[o] Filtered Airports for Map
Airport Location
Destinations
You can use property values to inform point icons, colors, or size. In the Size Configuration section, click Size by property value.
From the Static Value Property Type field, choose Number of Destinations
(i.e., change the point size based on buckets of this property value).
Under Style by Property Value Configurations, choose Range Value Match.
In the Value range to Size mapping block, enter the following values:
0
50
0-50
Add two more Value range to Size mapping blocks by clicking the ⊕ Add Value range to Size mapping above for each. Set the values as follows:
50
| 100
| Medium | 50-100
100
| 200
| Large | >100
Further down below, move the Enable Single-Select Mode toggle to the “On” position.
Finally, let’s set a filter output so that clicking an airport node on the map will store filter parameters you can use downstream. Click into the Select object set filter variable . . . near the bottom of the configuration panel. As you’ve done many times before, create a new variable and rename it, this time to [f] Selected Airport on Map
.
Save and publish.