-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to filter table by map extent #1049
Comments
FeatureTable supports listening to map extent changes https://developers.arcgis.com/javascript/latest/sample-code/widgets-featuretable-map/, so this will be easy to implement. |
cc @skrishn |
@sumitzarkar we decided on a different design on this,
icon ul: https://developers.arcgis.com/calcite-design-system/icons/?categories=GIS&icon=extent-filter&query= |
|
@sumitzarkar we went back to previous design again and will not use button.
|
@chris-fox and @sarahmcdonald7, I was thinking of expected behavior of this functionality when there is selection, looked at Pro and Dashboard behavior and here is what makes sense to me Current behavior Expected behavior • Info window will return back to initial state (no feature pop-up showing) Map extent change and selected feature/s are within the map extent |
@sarahmcdonald7 and @chris-fox, another scenario similar to selection because we select feature first then go in edit mode. I didn't find any other apps doing the exact same thing. When in edit mode from table , Dashboard focused on the edit modal and user can't do anything else unless they cancel out of it. When we are in editing mode Current behavior Expected behavior Map extent change due to the aspect ratio (we try to preserve extent when we change layout) and selected feature is not within the map extent • If there were any changes made to the feature in editing mode prior to change layout, show discard edit message and Info Panel will return to initial state. Map extent change and selected feature is within the map extent |
Makes sense to me @azizaparveen |
Based on the discussion in #1049 (comment) and #1049 (comment) we analyzed and we can implement the following behaviors: When selected features are outside the map extent:
When selected features are within the map extent:
While in editing mode and changing the layout to map layout:If the selected feature is not within the map extent:
Proposed Solutions:
If the selected feature is within the map extent:
Please let us know your thoughts on this |
@sumitzarkar , I am leaning towards the 2nd option here. typical workflow in this case I think is, users would want to change layout for editing feature with more map space. In this scenario, I think they will most likely want to keep the same feature in editing mode, so we adjust the extent to bring the selected feature in view and if they want to discard the edit and move on to select another feature they can. |
@azizaparveen I agree - I think the 2nd option makes the most sense. |
@sumitzarkar I talked to Chris about this and he suggested another option, which is not honoring the map extent filtering when we are in editing mode, kind of like what Dashboard does, it only allows editing in that mode, could you please look into this option and see if we can implement it. |
@sarahmcdonald7 what do you think about adding a info button right after this settings that says, "In editing mode, the 'Filter by visible map extent' function will stay disabled". |
@azizaparveen That works for me! Just a quick question to clarify the behavior. Is 'Editing mode' when a feature is selected in the table and is being edited in the pop-up panel? This wouldn't include if a user was editing directly in the table? |
@azizaparveen I am not sure if we should use 'editing mode' in the tool tip, it's not a phrase that we use typically while editing. Could we say, "While editing a feature in the map, the 'filter by visible extent' tool will not respected". |
Edit mode means, when a feature is selected in the table and is being edited in the pop-up panel, for in table editing I don't think it will be an issue, because users are going to edit one field at a time. |
Yeah, we can definitely use this string "While editing a feature in the map, the 'filter by visible extent' tool will not respected", Cybertech team is planning a code drop on Monday, so hopefully Tuesday on 28th |
@sumitzarkar please use this string for info icon "While editing a feature in the map, the 'filter by visible extent' tool will not respected" |
Describe requirements
During the R3 Instant Apps holistic event, we received a request to filter the table in Manager by the map extent.
"I'd like to be able to zoom in on my map and select and filter out the table based on what I select. Or even filter down my table as I zoom in on the map. "
I think this is a feature worth considering. We could potentially try to add a toggle for this in the filter tool, or a button in the map. This would only apply in split view I think.
Alternatives
No response
Other Relevant Info
No response
Impact
No response
The text was updated successfully, but these errors were encountered: