Select to view content in your preferred language

Is there a way to change the pop-ups for a WMS layer?

334
0
10-11-2023 02:15 PM
IanBaca2
New Contributor II

I have a WMS Layer that has pop-ups working with the identify tool. However, the information shows horizontally (vs vertically like most other layer type pop-ups), and some field names and values need formatting to be more readable.

I see from the documentation for WMS layers that “ArcGIS Pro displays what is returned by the server inside a Microsoft Edge control embedded in the Identify window. The result of an Identify query may be provided as field-value pairs, HTML, or images.”

Is there a way to access the field-value pairs returned with the SDK and make a custom pop-up? Is there a way to tell the pop-up not to display the Edge Control?

I have been working with the LayersPopups and CustomPopUps Community Samples, but it seems pop-ups for WMSLayers cannot be manipulated in the same as FeatureLayers.  As of now, I haven't even been able to do anything to the WMS popups, even changing the title to a simple string does not work. 

Tags (2)
0 Kudos
0 Replies