GoogleCloudPlatform / bigquery-geo-viz

Visualize Google BigQuery geospatial data using Google Maps Platform APIs
https://bigquerygeoviz.appspot.com/
Apache License 2.0
107 stars 38 forks source link

Provide GMaps bounding box variable/macro to SQL script #45

Open preston-hf opened 3 years ago

preston-hf commented 3 years ago

It would be really cool if you could put $BBOX or similar in a query and have it replaced with a Geography representing the current bounding box of the google maps widget. This would allow easy usage with GEOGRAPHY clustering to limit results to just what you're looking at. If you want to look at different data, just move the map and hit Run again to refresh the results.

It seems like it would be simple to add, does this project accept contributions? It seems like not much has happened with this project recently so I wanted to check before spending time making the changes and sending a PR.