Interactions
Last updated
Last updated
Interactions make it easy to explore and understand your map data by showing details about features. You can use pop-ups, which appear next to a selected or hovered feature, or info panels, which display detailed information on the right side of the map.
There are two primary types of interactions available:
Click Interactions: Retrieve information when you click on a feature in the map.
Hover Interactions: Display information when you hover over a feature in the map.
Non-aggregated layers
How it works: Information is retrieved directly from the server when you click on points, lines, or polygons.
Highlighting: Features are automatically highlighted when clicked.
Aggregated layers
How it works: Information is calculated on your computer for aggregated data (e.g., spatial indexes, cluster, etc.).
Aggregation operation: You’ll need to specify how data is aggregated (e.g., totals, averages).
Non-aggregated layers
How it works: Information is retrieved on your computer for individual points, lines, or polygons when you hover over them.
Highlighting: Requires a unique identifier column named geoid
to enable highlighting.
Limitations:
Up to 5 columns of information can be displayed.
Column character values are limited to 150.
Aggregated layers
How it works: Information is calculated on your computer for grouped data when you hover over it.
Aggregation operation: You’ll need to specify how data is aggregated (e.g., totals, averages).
Connections to Redshift clusters only support the aggregation of categorical properties by any value for styling and interactions.
You can use the menu to choose between a pop-up window (displayed next to the feature on the map) or an info panel (added to the right-side panel).
You can add attributes by including them as a list or customize pop-ups to meet your specific requirements using HTML. With HTML customization, you can add images, modify styles, and more to create tailored user experiences.