I have a dataset with multiple features at one latitude/longitude. They are stream ratings that have been taken over many dates. Each stream rating is a feature with its own rating and date. Right now, it seems like the first popup that comes up is a random date.
I would like to show the change in stream ratings ($feature.MEAN_RATIN) over time ($feature.SampleDT)
I would like to either:
1. Show all the data from each feature at a latlong on one popup.
OR
2. Have the popup order go by date (for example: most recent date shows up first, then it goes in order through the first sample date).
Here is the link to my draft: https://icprb.maps.arcgis.com/apps/instant/exhibit/index.html?appid=aa1dc2c7adf54a0c9a44b6f19b6c1dd8 (zoom in to "Chessie BIBI 2023 Sampling Results")
I've got just enough knowledge of Arcade to create simple expressions, but happy to learn more.
I would think if you have a unique identifier for each station you can do this with arcade. Honestly ChatGPT has helped me when it comes to arcade.
@RenBou ,
Are you familiar with the feature display order setting in Map Viewer? It's found on the Properties panel near the bottom. It essentially tells the map what feature to display on "top" in the case of overlapping geometries and you can use a field value to drive this (e.g., a date value). This would at least ensure that the topmost feature is the one with the most recent date (and therefore the first pop-up displayed on click).
I've attached a photo of the setting below. If you set this in your map then it should be honored in Instant Apps referencing it downstream.
Taylor
I was not aware of that. Thank you! That was very helpful!