diff options
author | JeremyJamesL <jeremyluscombe@gmail.com> | 2024-12-17 20:02:52 +0000 |
---|---|---|
committer | JeremyJamesL <jeremyluscombe@gmail.com> | 2024-12-17 20:02:52 +0000 |
commit | 9aecf3a523bcd379a5afc66bb26d181361154264 (patch) | |
tree | 6b89873fbce489957ea1068efe04118a1abc2931 /README.md | |
parent | 8e5214809d79d2df726ddddf4f31508f937e959a (diff) |
readme
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 31 |
1 files changed, 6 insertions, 25 deletions
@@ -1,32 +1,13 @@ # London pub search +[Website](https://pubs.jezl.xyz) + Better search for every pub within the M25. Current searches for pubs in the UK are a bit rubbish. This takes inspiration from this [original Algolia project](https://preview.algolia.com/geo-search/). -## Process - -1. Search for all pubs within the M25 and add to an Algolia index, get lat and long at the same time -2. Google sucked at this, so used Wyre api -3. Uploaded to Algolia -4. Limite the map to London using restriction -5. Draw a rectangle -6. Listen to rectangle resize events -7. Query Algolia with the bounds -8. Limit response fields, we only really need the geoloc -9. Remove all markers when looking the markers -10. Debounce the query - -## To do: - -- [x] Get all pubs using an API -- [x] Init map all one function -- [x] City of London is missing -- [] Replace null values for lat,lon with real data -- [] Don't return \_highlightResult? -- [x] Run search on first load -- [] bundle all remove markers, query and result render into one function -- [] maxmapspace and initialrectbounds are the wrong way around -- [] Sort out generatemap arguments +## Build with - +- [Google Maps API](https://developers.google.com/maps/documentation/javascript) for the map +- [Algolia](www.algolia.com) for map search functionality and text search +- [Tailwind](https://tailwindcss.com/) CSS |