Hi - I've got a PopupTemplate associated with a FeatureLayer. I'm hoping to keep it from collapsing content in a mobile screen size. I've seen this solution for a View Popup https://community.esri.com/t5/arcgis-api-for-javascript/popup-functionality-in-mobile-view/td-p/562752 but I don't see a similar collapsed or collapseEnabled property for the PopupTemplate.
PopUp also has a features property which accepts an array of graphics that can have a PopupTemplate associated with them, https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html#features but this doesn't work for a Feature Layer -- at least I don't see how to extract the graphics with attached PopupTemplate from the Feature layer.
Any ideas?
Thanks
Pete
Did you ever find a solution for this, and if so - can you please share it?
I'm having the same problem here and just can't figure it out 😕
Hi emorlin - Unfortunately did not find a way to stop the collapsing of content for mobile screen size. I had only two fields to display so I stuck them in the title.Pete
Pete,
thanks for your reply 🙂
I will keep on looking for an answer and I promise to post here if i find one.
Erik
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.