Feature Layer added nothing popup

1141
8
10-17-2021 11:29 PM
batkaj
by
New Contributor II

Screen Shot 2021-10-18 at 14.27.38.png

 

Feauture layer has been added it's showing up on the map. 

Screen Shot 2021-10-18 at 14.28.30.png

nothing on popup.

0 Kudos
8 Replies
MichaelBranscomb
Esri Frequent Contributor

Hi,

Can you share your code (e.g. XAML) where you've configured the UI to display the contents of the Popup?

Thanks

0 Kudos
batkaj
by
New Contributor II

The popup is working mumps which is downloaded.

not working on feature layer. 

Screen Shot 2021-10-19 at 01.20.34.png

0 Kudos
dotMorten_esri
Esri Notable Contributor

Is `result?.Popups?.FirstOrDefault() is Popup` true? Does that feature layer have popups configured?

0 Kudos
batkaj
by
New Contributor II

how can I share my code

0 Kudos
batkaj
by
New Contributor II

result?.Popups?.FirstOrDefault() is Popup giving null.

0 Kudos
dotMorten_esri
Esri Notable Contributor

Did you define a popup definition on your feature layer? Otherwise that collection would be null.

0 Kudos
batkaj
by
New Contributor II

didn't 

I'm looking at this code https://developers.arcgis.com/net/wpf/sample-code/show-popup/

 

do you have a example popup definition.

0 Kudos
batkaj
by
New Contributor II

Popupdefinition still the same.

Screen Shot 2021-10-25 at 01.44.36.png

0 Kudos