You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I use the tool to display locations by markers on a map. Each marker has a popup attached to it, which contains the exact location name and appears by a click. This works wonderfully. However, I also use a grid in which all locations are listed. When the user clicks on an entry in the grid, the popup should also open, but nothing happens. I suspect that this is because in LayerPopupFunctions.class, both the .closePopup() and .openPopup() functions say "executeJS("closePopup")". It would be great if this could be fixed or if somebody can tell me what I do wrong. Anyone else have any other ideas on how to work around this issue? The .togglePopup() function doesn't solve it either.
This is my code:
mygrid.asSingleSelect().addValueChangeListener(e -> {
if(e.isFromClient() && e.getValue() != null)
{
PlaceDataContainer p = e.getValue();
System.out.println(placeMarkerMap.get(p).getPopup()); //To be sure, that the popup was found
placeMarkerMap.get(p).openPopup();
}
});
Thanks and regards
The text was updated successfully, but these errors were encountered:
Hello,
I use the tool to display locations by markers on a map. Each marker has a popup attached to it, which contains the exact location name and appears by a click. This works wonderfully. However, I also use a grid in which all locations are listed. When the user clicks on an entry in the grid, the popup should also open, but nothing happens. I suspect that this is because in LayerPopupFunctions.class, both the .closePopup() and .openPopup() functions say "executeJS("closePopup")". It would be great if this could be fixed or if somebody can tell me what I do wrong. Anyone else have any other ideas on how to work around this issue? The .togglePopup() function doesn't solve it either.
This is my code:
Thanks and regards
The text was updated successfully, but these errors were encountered: