Overview
The plugin allows you to link a polygon to a specific post, making its visibility dependent on the post’s visibility on the map.
When a polygon is connected to a post, it will be visible only when the post is displayed on the map. If the post is hidden or not present on the map, the polygon will also be hidden.
The visibility of the post on the map can be controlled or toggled based on the following criteria:
- When the map query settings permit the display of that post on the map.
- When using the “Faceted Search” to filter the posts/locations on the map.
- When using the “Search Form” to find locations on the map within a chosen distance restriction.
- When switching off the “Heatmap layer” #.
- When setting up the map to “As search map” #.
- When filtering posts/locations using the add-on “List & Filter”.
- When drawing search areas using the add-on “Draw a Search”.
- When selecting predefined areas using the add-on “Draw a Search”.
How to connect a polygon to a post?
- Edit your map
- Click on the menu “Polygons Settings”
- Edit your polygon by clicking on its related group field. For example, “Polygon 1”
- Open the group field “Polygon options”
- In the field “Polygon connected post”, enter the ID of the post you want to connect to the polygon.
- Save your map settings