I'm in the process of retiring a custom popup viewer in favor of the PopupViewer in esri's toolkit. It's generally an improvement but I have an enhancement request that I think would be fairly easy to implement and make the control more functional.
My app builds a tree of the various layers/features that were identified (left pane) and when a feature is clicked, the popup is displayed (right pane). Kind of a classic item/item detail UI metaphor. The PopupViewer automatically begins displaying a back button after the first feature is selected, which is not relevant in my use case.
My enhancement request could be summarized as provide some programmatic control of if the back button is displayed. Thoughts include:
I'd be totally happy with approach 1, extra credit for approach 2. If anyone at esri has thoughts on how suppressing this could happen without changes to the control code, I'd love your feedback.
Due to the multi-platform codebase, I don't have the necessary experience to implement and issue a pull request.
Screen grab for clarity... thank you in advance.
Solved! Go to Solution.
The back button should only show if you drill into sub-features like related features or utility network associations. If that's not the case, please log a bug in the toolkit repo.
The back button should only show if you drill into sub-features like related features or utility network associations. If that's not the case, please log a bug in the toolkit repo.
Issue submitted: https://github.com/Esri/arcgis-maps-sdk-dotnet-toolkit/issues/702