Hi,
When adding a FeatureLayer with its url, defaultPopupTemplate is not working while it is working when adding it with its portalItem id.
Sample code not working:
https://codepen.io/christophesuter/pen/QWpLPpz
Sample code working:
https://codepen.io/christophesuter/pen/jOBNRmJ
Is this a normal behaviour ?
Thanks for your help
Try to add:view.popup.defaultPopupTemplateEnabled = true;
Ok, thanks that works !
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.