feat(demo): Add Price Level filter and expand H3 resolution limits#29
Merged
henrikvalv3 merged 1 commit intomainfrom Feb 24, 2026
Merged
feat(demo): Add Price Level filter and expand H3 resolution limits#29henrikvalv3 merged 1 commit intomainfrom
henrikvalv3 merged 1 commit intomainfrom
Conversation
Adds price level filtering for all search modes and increases the maximum H3 resolution limit to 11.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
This PR introduces support for filtering by
price_levelacross all search modes and updates thePLACES_COUNT_PER_H3function integration to support higher fidelity spatial aggregations up to H3 resolution 11.Key Changes:
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.jsto append theprice_levelfilter to standard BigQuery SQLWHEREclauses as well as the JSON arguments for thePLACES_COUNT_PER_H3function.map.jsto allow the H3 Resolution slider to reach a maximum of11(up from8) when using the server-side H3 function mode, aligning with the latest backend capabilities.help.js) andREADME.mdto document the new Price Level filter and the expanded H3 slider range.