Skip to content

reopening issue #198 - compare map filtering #215

Description

@twagner-cmap

Hi! Thanks for checking this out. The compare map filter issue is fixed. I am able to set the initial filter like list("==", get_column("level"), "county") in the render compare map section. Then I can use the set filter arguments in the compare proxy like list("==", get_column("level"), input$select)

Unfortunately, it appears something broke in the single map rendering. When i use this same method, it used to work. Now it only renders the initial "county" geography. When i toggle back and forth, the muni geography never shows up. If i set the initial filter inside the render map/add_line_layer section to list("==", get_column("level"), input$select), it filters between the two geographies, but it re-renders the entire map each time.

In summary, filtering geographies without full map re-renders worked for the single map before the update and is now not working. Filtering geographies without full map re-renders did not work for the compare map before the update and is now working.

If there is a different way I should be filtering geographies to avoid full map re-renders, let me know! Thanks for all the hard work!

Originally posted by @twagner-cmap in #198

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions