Select to view content in your preferred language

Convert HTML Attributes from IdentifyLayerResult

195
3
Jump to solution
04-14-2025 07:58 AM
KarenRobine1
Regular Contributor

Hello:
I am retrieving some attributes from Layers in an AGOL Map. They're in HTML format and look great when you do a Popup in AGOL. However, I'm trying to figure out how to render them nicely in a popup I've built using the ArcGIS Maps SDK .NETMAUI.  The attributes will need to appear in both online and offline scenarios.  I don't see anything in the API that can do this. Just looking for some ideas. Thanks.

0 Kudos
1 Solution

Accepted Solutions
dotMorten_esri
Esri Notable Contributor

You could also use MAUI's WebView class to render the HTML.

View solution in original post

0 Kudos
3 Replies
GKmieliauskas
Esri Regular Contributor

Hi,

You could investigate in using PopupViewer  from Esri.ArcGISRuntime.Toolkit.Maui package. As written in documentation, it supports limited text display from HTML-based popups

PopupViewer sample is here.

 

 

0 Kudos
dotMorten_esri
Esri Notable Contributor

You could also use MAUI's WebView class to render the HTML.

0 Kudos
KarenRobine1
Regular Contributor

Yup. That's the option I started to pursue (pure .Net MAUI solution).  Thanks..

0 Kudos