Select to view content in your preferred language

Disable popup menu button

1628
2
Jump to solution
06-07-2022 06:17 AM
ITApplications
Occasional Contributor

Hi all

Is there a way to disable the menu/next/previous feature button from the popup when it's selected more than one feature?

ITApplications_0-1654607460778.png

The streets on our feature layer slightly overlap each other at junctions and when clicking on/near a junction the popup returns more than one result. We use a hit test to highlight a street and then the user can click to display a popup/information about that street. We only need the top most (highlighted) result returned in the popup. I'm thinking there must be a way to hide/disable the menu/next/previous button.

I've tried this but it doesn't seem to work.

view.popup.actionsMenuEnabled = false;

Thanks

Tags (1)
0 Kudos
1 Solution
2 Replies
ITApplications
Occasional Contributor

Hi Rene

Thank you that's great. Setting featureNavigation to false has worked perfectly. Thank you for your assistance.

0 Kudos