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

Support Multiple Geolocations Per Item #2

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

joshvickerson
Copy link

This is a customized version of Algolia's Geosearch widget. It has been updated to support multiple geolocations (map markers) per record in an Algolia index.

It supports many configuration options, like enabling / disabling refinement controls and options, but not all (e.g. googleReference, mapOptions, cssClasses). Some of the more complex options like cssClasses feel like they should be able to be forwarded to the widget rather than fully reimplemented from scratch, but if that's possible, it wasn't clear to me how. Some of the options were not required to fulfill the defined success criteria, so I didn't spend time on them for this PR.

I didn't test on an actual phone, but I did give the page a responsive layout. The layout assumes this is the whole page — if this were meant to be embedded on another page, I'd rewrite the layout using container queries instead (or auto-sizing with grid).

Please let me know if there are any questions or feedback!

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