New answers tagged

1

Since you're using WAB, I guess you have a WebMap. Then you can customize the Popup directly in your WebMap using Arcade and get information from a related table using a custom attribute expression. Here general info about customizing your Popup using arcade Here you have info about getting info from another layers You're attribute expression would be ...


0

I'm not sure I totally understand what you're looking for, but I have been able to customize popups from the underlying web map (as opposed to from within the web app builder). I think you should be able to configured popups from each layer's drop-down menu.


2

A custom attribute display with a simple table using HTML isn't hard: <table style="width:100%;"> <tbody> <tr> <td style="border:0"><b>Name</b></td> <td style="border:0">{Name}</td> </tr> </tbody> </table> Or you can just use the GUI formatting tools. The only ...


0

I know that this is an old question, but you do not need to take the detour @Robert described in his reply. As Popup is inheriting from DivOverlay, you can set the offset option directly when initializing the Popup: var popup = L.popup({ offset: [0, -30] }) .setLatLng(location) .setContent("Test Text") .openOn(mapId); ...


Top 50 recent answers are included