13 - Creating Variables for Your Map Point Data Layer

This content is also available at learn.palantir.com ↗ and is presented here for accessibility purposes.

The next two tasks will walk you through the process of setting up a map point layer for all airports that have flight alerts. You’ll give your analyst the ability to quickly see the busiest affected airports, and in a future task you’ll build in the ability to view airport details.

You want more, however, than just a static depiction of airports. Let’s set up this point layer so that the airport objects respond to both of our filter lists on the left and to pie chart selections.

🔨 Task Instructions

  1. Click the Variables panel on the left side of the screen and then on ➕ to the right of the Variables header.
  2. Choose Object set and then Object set definition.
  3. Change the default variable name to [o] Filtered Flight Alerts for Map and set [o] Filtered Flight Alerts (COP) as your starting object set.
  4. Click the (x) Filter using variable option and choose [f] Pie Chart Alert Filter.
  5. With the Variables panel still open, click the ➕ button once again.
  6. Choose Object set and then Object set definition.
  7. Change the default variable name to [o] Filtered Airports for Map and set the variable you just created,[o] Filtered Flight Alerts for Map as your starting object set.
  8. Click the Get linked objects button and choose [Example Data] Flight.
  9. Click the Get linked objects button once more and choose [Example Data] Airport, making sure to choose the one that lists [Example Data] Destination Airport underneath.
  10. Click the (x) Filter using variable option and choose [f] Airport Filter to connect your airport filter list widget to the map points.
  11. Save and publish.