Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have three overlapping polygons of same size and location. When users click on the polygon, popup is displayed only for the topmost polygon. Is there some way to show multiple popup for all overlapping polygons - similar to what 'clustering' does for point layers? Thanks a lot for the great module!
Comments
Comment #1
zzolo CreditAttribution: zzolo commentedHey @shrer. There may be a way to do this with some custom code, but no way with current module. I think this is a bit too much of a specific use case for us to put into this module.
In theory you could handle a click event that searched for any overlapping features and open the popups. But how would you display it all?
If these really are the exact same polygons on top of each other, you may want to rethink your data structure.
Comment #2
shrer CreditAttribution: shrer commented@zzolo: They are not exactly same polygons (see attachment), but when the larger one is overlapping the smaller ones, it only display one pop-up.
Comment #3
Exploratus CreditAttribution: Exploratus commentedWas wondering if there was every a solution to this?
Comment #4
ken-g CreditAttribution: ken-g as a volunteer and commented