Item Picker: Possibility to control highlighting of features
Not plannedWhen using the Item Picker for features with geometry, it would be very handy to control how the features are initially highlighted. Our users find it disturbing that all features are highlighted in red (some kind of markup..?) by default when the list is populated. This markup is hiding the original symbology of the features underneath. When hovering over/checking features in the list, they are focused, which is handy.
I would like an option in the Item Picker to enable/disable the initial highlight/markup of all features. As of now, using the command map.clear-markup removes the markup, but this doesn’t work if its executed directly in the form load event for populating the item picker. Putting the command into a change event works fine.
If there is another way of fixing this, please let me know.
Best regards,
Kristine Smaadal
-
Running into the same problem as Kristine. Is there any update on this one?
1 -
Any updates on this one?
0 -
Hi Kristine Smaadal ,
There is no update on this. We have no plans to change how the item picker works. The highlighting is intended to show you where the items are so you understand what you're selecting. If there is no geometry present in the items, nothing is highlighted. That could be a way you could prevent the highlighting if you wanted.
-1 -
Hi Ken Lyon ,
As a follow-up question on this topic: we notice in an Item Picker (within a panel with tabs) the ‘common’ red highlight (all of the listed features) stays active, even when just one is eventually selected. The unchecked features remain in the red highlight, which is not as expected. Clicking the cancel button doesn't clear them (we need to run a map.clear-markup to achieve that). When using the back-arrow of the panel, however, this highlight is cleared. So, it appears that the Component itself lacks the logic to clear the ‘common’ highlight when we would expect it. Is that intentional or could it be bug behavior?
0 -
SIGGIS Helpdesk (esri Support) I believe the persisting highlighting is a known bug in the VertiGIS Studio Web implementation of this form element. I recommend you contact support to check the status of this.
0 -
Hey Ken Lyon
How to handle the graphics behaviour of Item Picker is an exceptionally common question and pain-point. The markup that is added automatically confuses end users, because it covers the original symbology, and that symbology is what actually makes sense to them.
Two workarounds I commonly use is
map.clear/hide-markupon collection “default”. The Item Picker runs onemap.add-markupper item, so the markup is added gradually. Often there is nothing to clear yet when the command runs. A Delay is necessary, but how long it needs to be depends on the number of items, so there is no safe value. Hiding or clearing the default markup might also unintentionally hide wanted graphics.Using
drawing.set-default-symbolto set a blank or outline-only symbol before the Item Picker is populated. The Item Picker uses the app’s default symbol for its markup, so this hides the markup while hover highlighting still works. However, the default symbol has to be reset both before and after the workflow, and it affects any other markup in the app while the workflow is running.The Workflow Designer should enable us to choose if we want added graphics on the Item Picker or not. A separate (presumed) benefit would be performance, as each separate item in the Item Picker runs both drawing.get-default-symbol and map.add-markup.
Vegard Sulebakk
Geodata2 -
A correction to my original post: I wrote “highlighting”, but what I meant was the markup (graphics) that the Item Picker adds to the map. The highlighting itself works fine. Vegard describes the issue that still persits, Ken Lyon.
1
Please sign in to leave a comment.
Comments
7 comments