Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature 1796 places autocomplete #2314

Merged
merged 30 commits into from
Mar 25, 2024
Merged

Conversation

ianguerin
Copy link
Collaborator

Includes all changes from individual PRs 1,2,3 and 5 (contents of 4 included in earlier PR) that were individually reviewed.

The goal of this PR is to be tested using a more manual review, by running in various themes.

@ianguerin ianguerin requested a review from robyngit March 19, 2024 21:49
@ianguerin ianguerin self-assigned this Mar 19, 2024
Copy link
Member

@robyngit robyngit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is going to be fantastic @ianguerin, thanks for keeping it all so modular. I encountered some issues:

  1. When there's no maps key configured in a repository, the ToolbarView breaks and the help tab view doesn't get rendered. The console shows the message: Error rendering ToolbarView section TypeError: gmaps is null
  2. With a map key configured, I actually wasn't able to find any places. I only see the message: "No search results found."

@ianguerin
Copy link
Collaborator Author

This is going to be fantastic @ianguerin, thanks for keeping it all so modular. I encountered some issues:

  1. When there's no maps key configured in a repository, the ToolbarView breaks and the help tab view doesn't get rendered. The console shows the message: Error rendering ToolbarView section TypeError: gmaps is null
  2. With a map key configured, I actually wasn't able to find any places. I only see the message: "No search results found."

I've hidden the viewfinder panel if there is not Google Maps API key now.
I'm curious to reproduce #2 in your list, as it works with my personal API key, so I wonder if there's an API not enabled on the key

@ianguerin ianguerin force-pushed the feature-1796-places-autocomplete branch from d6ba440 to 8186f78 Compare March 21, 2024 21:29
@robyngit
Copy link
Member

Tested with a properly configured API key, it works so well!! 🎉🎉🎉

ianguerin and others added 24 commits March 22, 2024 14:04
This logic will be removed from Viewfinder in future commit.
Co-authored-by: Robyn <26600641+robyngit@users.noreply.github.com>
Include additional Google Maps API libraries on page.
Create model services to interact with Google Maps APIs.
Co-authored-by: Robyn <26600641+robyngit@users.noreply.github.com>
Co-authored-by: Robyn <26600641+robyngit@users.noreply.github.com>
Co-authored-by: Robyn <26600641+robyngit@users.noreply.github.com>
Co-authored-by: Robyn <26600641+robyngit@users.noreply.github.com>
Co-authored-by: Robyn <26600641+robyngit@users.noreply.github.com>
Add ViewfinderModel which will be used by ViewfinderView in a later
commit.
Prediction models can be represented by a PredictionView which are in
turn managed as an unordered list.
Replace lat,long-only search with search for reqular query strings.

fixes #2280
fixes #2270
fixes #1796
@ianguerin ianguerin force-pushed the feature-1796-places-autocomplete branch from c8c9199 to 7d77304 Compare March 22, 2024 21:05
@robyngit robyngit self-requested a review March 25, 2024 16:23
ianguerin and others added 3 commits March 25, 2024 11:16
Co-authored-by: Robyn <26600641+robyngit@users.noreply.github.com>
Co-authored-by: Robyn <26600641+robyngit@users.noreply.github.com>
@robyngit robyngit merged commit e3f0efa into develop Mar 25, 2024
2 checks passed
@robyngit robyngit linked an issue Mar 28, 2024 that may be closed by this pull request
@robyngit robyngit deleted the feature-1796-places-autocomplete branch September 26, 2024 17:24
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.

Include interface for searching for a place name or address in Cesium
2 participants