WordMap marker popup open=visible?

I'm trying to create a pizza-delivery map, where 1 or multiple addresses would be selectable.
(Multi-select mode would be activated by a user-button.)

If the user clicks a marker:

  • the popup window shows,
  • we get a nice notification from the click event, :slight_smile:

but there is no way to know, if the marker is currently "selected" or not? :downcast_face_with_sweat:
(So is the popup currently visible or not.)
Also, the popup panel can be closed with the "X" icon of it's top-right corner, which gives no event notification from wordmap-in node at all. :frowning:

Has anybody any idea, how should I handle "selections" on WordMap?

(Worst case dropping popups and switching to context (right click) panels...)

PS: an other problem with those popup panels that they are not semi-transparent, and hiding everything beneath...

ChatGPT gave me ^link 3 choices:

  1. Use label instead of popup.
  • Well, I'm already using them for the most important infos,
  • the popup gives all the other infos, which would not fit on a small label. (The full address, which delivery boy takes it, etc.)
  • And a big label would hide all the other markers permanently.

So this is not a good way.

PS: ... thinking about the other recommendations, (3. + Advanced) but using HTML + JS is not easy for me. (I'm mainly a Pascal developer with medium JS knowledge only.)

If you click it then the pop up should still be open. But yes there is no close event so you can’t tell if it has been closed. I can look to add one but it won’t be for a couple of weeks.

Not sure about transparency. If you end up with overlapping popups then they will get had to read very quickly.

I don't think it will be necessary. Currently investigating the possibility to move the whole thing from popup to -> context menu (right click).

I agree. I'll leave it to the user to close them, if they are in the way.
(Maybe will add a global button to close all of the at once forcibly.)

About "selected":

I think I will manipulate the COLOUR of the marker.
On click event I get the actual colour via msg back, also I'm storing all data in a map() too.

Need to investigate:

  • do I get any response from right click back? (context)