I have a floor aware map in my Exp Builder page and I would like to be able to use the Select Widget to select multiple units, however when I do this, it will select units across all the floors in that area rather than just what is visible.
Is there some sort of trigger or actions I can use to fix this?
Secondary question, is there a way to 'add' to a selection with this widget? The only way I can find to do so is by selecting attributes within a table, but I would prefer to not have a table/list at all if possible.
Thanks!
I don't have floor aware data, but I took a crack at answering your question anyway. My thought was you should be able to make an Attribute Selection first before using the drawing selector. But I found a major obstacle to doing so. I'm going to ask my own question about it because it gets a bit off topic and technical, but it really deserves a response from the build team.
Anyway, have you tried using the Floor Filter Widget to filter the floors before making a selection with the Select Widget?
To your second question, see the quote below.
With interactive selection, users can select multiple features in the following four ways:
- New selection (click and drag the pointer to draw a shape)
- Add to the current selection (pressShiftwhile drawing)
- Remove from the current selection (pressCtrlwhile drawing forWindows; pressCmdwhile drawing forMac)
- Select subset from the current selection (pressCtrl+Shiftwhile drawing forWindows; pressCmd+Shiftwhile drawing forMac)
Note:
If attribute selection is turned on in the widget's settings, onlyNew selectionis available for interactive selection.
I appreciate your response!
I have tried using the floor widget first to make sure I have the correct building/floor selected but I still get a selection across all floors.
I had attribute selection turned on in the Select Widget, I had no idea that affected the selection capabilities! I turned that off and now it works as I expected, being able to use keyboard shortcuts to change selections.
Thank you so much! I was going crazy trying to figure that out.
Just want to attach a screenshot to show what is happening a little better.
Here I only intend to have three units selected, but it has 13 selected across all floors.
Really the biggest issue for my intention with this map is that I have an expression to show the total sqft of the selection, but that does not accurately convey what the map user sees (here is says 8,743 sqft but the actual area of the visible area is about 3,706 sqft). So even if there is a work around for just that, that would help my particular issue.