I was wondering if it was possible to have multiple themes for popups? For example having a warning theme where the background was red, but only for a specific feature layer. Whereas, all other feature layers have a background of a different color.
Ok, I worked around this issue by using a combo of javascript and css. Added a css variable for the popup background color, which I modify in javascript depending on which feature layer's popup is being displayed.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.