Skip to content

feat(demo): Add Price Level filter and expand H3 resolution limits#29

Merged
henrikvalv3 merged 1 commit intomainfrom
feat/demo-price-filter
Feb 24, 2026
Merged

feat(demo): Add Price Level filter and expand H3 resolution limits#29
henrikvalv3 merged 1 commit intomainfrom
feat/demo-price-filter

Conversation

@henrikvalv3
Copy link
Copy Markdown
Collaborator

Summary:
This PR introduces support for filtering by price_level across all search modes and updates the PLACES_COUNT_PER_H3 function integration to support higher fidelity spatial aggregations up to H3 resolution 11.

Key Changes:

  • Price Level Filter: Added a new dropdown in the Attribute Filters UI (index.html) allowing users to filter by specific price levels (Free, Inexpensive, Moderate, Expensive, Very Expensive). It defaults to "All Price Levels" to bypass the filter.
  • Query Builder Updates: Modified query.js to append the price_level filter to standard BigQuery SQL WHERE clauses as well as the JSON arguments for the PLACES_COUNT_PER_H3 function.
  • Expanded H3 Resolution: Updated the UI logic in map.js to allow the H3 Resolution slider to reach a maximum of 11 (up from 8) when using the server-side H3 function mode, aligning with the latest backend capabilities.
  • Documentation: Updated the User Guide (help.js) and README.md to document the new Price Level filter and the expanded H3 slider range.

Adds price level filtering for all search modes and increases the maximum H3 resolution limit to 11.
@henrikvalv3 henrikvalv3 merged commit aff1ea8 into main Feb 24, 2026
4 checks passed
@henrikvalv3 henrikvalv3 deleted the feat/demo-price-filter branch February 24, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant