Results Summary Popup Keeps Adding Features
Hello, I am encountering yet another issue when configuring popups for my VSW app. I have the following component nesting for the popup:

I originally used Result Details instead of Result Summary but switched after learning that the summary component was the correct one to use to only display certain Map Viewer-configured popup contents. However, when Result Details was being used, if I closed the popup (x on the parent Panel component), the results would be removed, and the next time I clicked on the map, a new set of results would populate.
Now that I switched to the summary component, if I close the panel component, these features do not get removed and the next time I click a feature on the map, it just gets added to the popup summary list, and the list of features I can click through in the results summary just keeps growing. Below is how I have the Map Clicked event configured to populate and display the popup.
[
{
"name": "tasks.identify",
"arguments": {
"sources": [
"item://sublayer-extension/471f7de5-552a-49ed-83c1-72f9af64ba2a",
"item://sublayer-extension/c7366a54-8b56-47e3-8e34-197fe33d0e42",
"item://sublayer-extension/b615fe5e-9976-4884-947d-ee2a8ce48bd6",
"item://sublayer-extension/7815d538-ed92-40d7-99c1-545fdc0ee2e7",
"item://sublayer-extension/07c73a20-3036-4e13-ac08-a0cd59bdee15",
"item://sublayer-extension/bb824914-bf01-4bd9-9a72-4cb24903701d",
"item://sublayer-extension/77a85e94-bd83-4fdc-be5a-5895e9f64c09",
"item://sublayer-extension/4e5d1808-de7a-42b7-84c5-1845d0687f9c"
]
}
},
{
"name": "results.display-summary",
"arguments": {
"results": "item://feature-summary/2e59719b-c4ad-46ed-bb8d-03d04320e291"
}
},
{
"name": "ui.activate",
"arguments": "panel-80eaceb4"
}
]I tried setting “results.remove” as the first command in this chain, thinking maybe it would clear the set of features and then continue with selecting the new ones intersecting the map click location, but this did not work.
Two additional issues:
- When I would close the panel containing the Result Detail component, the selection on the map would disappear. This does not happen when closing the panel containing the Result Summary component, leaving a selected feature on the map when the popup has closed.
- If I click the same feature again, it gets duplicated in the summary component, appearing as two separate selectable records.
Any help is appreciated!
- Jack C.
-
UPDATE: I am no longer seeing this behavior. It is now acting exactly like Result Details components: when the window/parent component supporting/displaying it closes, the features are removed from the selection and any highlights/focus are also removed.
I made no other changes to my application or any custom commands, so I can't elucidate why the issue disappeared (but glad it did).
0 -
Hey Jack Charde that is odd! I cannot explain that, beyond perhaps browser caching.
If you do encounter this again, please submit a support ticket ( VertiGIS Studio Support ) and include your VSW app ideally.
1
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer