I have a map with three layers - all the same data source but with different filters showing Groups A, B, and C. Each layer has different pop-ups, with wildly different information, including links. All in all, it was easier to create copies of the data source rather than creating expressions for each. But in order for the legend to be clean, I put all three symbologies on one layer. But because that layer has a filter, the record count for two of the groups is 0. Well now, the legend is only showing the one group with a record count even though my symbology is set for all three.
How can I change this? Even in other maps, I need it to show all options, even if those options aren't present currently, so that people know the options available.
This is expected - we made a note about the change under the smart mapping section of the post. When you setup a filter using the same field as the Types style you will see only the results returned by that expression. This was a feature request we had and now Map Viewer and other apps that use the same Maps SDK will have the same legend experience.
Maps SDK feature
Is there a way to turn that off? That's not a feature for me, If I set a filter and didn't want a certain symbol to show in the legend, I just moved it to the other category. I specifically want those symbols to show in the legend.
Currently not. For other users they may use a filter on a layer and moving to other removes all the symbol configuration that was made bc maybe they change the filter frequently to look at those other types and the legend matching to the features that are actually displayed in a map for that layer can make it clear to the viewers for values that exist and not having to look for values that are 0 and do not exist in the map.