IndiaVaccineIN / india-vaccine-frontend

We’re Making it Easier to Locate Vaccination Centers in India
https://www.indiavaccine.in
11 stars 12 forks source link

✨ Add current location interface in search input #11

Open HarshInvader opened 3 years ago

HarshInvader commented 3 years ago

API only allows search by pincode and district so have to find a way to map current location data to pincode or district.

umanghome commented 3 years ago

My location would technically fall under both Bangalore Urban and BBMP. :/

umanghome commented 3 years ago

And pincode search does not work most of the time. Hasn't worked for me yet.

HarshInvader commented 3 years ago

Thanks for your points @umanghome. We will have to figure out a good way to map a location to nearby pincodes and then show the centre.

AniketSK commented 3 years ago

@umanghome the cowin API, confusingly isn't about: "Give me vaccination centers close/closest to this pin" It's like: "Show me all vaccination centres that have this exact pin code".

@HarshInvader how about an api that asks for people's locations via the browser and then compares that against the lat/lon defined in the api results of centers? Sorry I missed the call yesterday but I could take this if there's nothing else too pressing? Looking up their coordinates, I can see they're rounded off to the point of uselessness. How about getting distances via pin codes and showing people all the ones around them?

HarshInvader commented 3 years ago

Yes @AniketSK it might be handy to connect with someone from the back-end and data team for this as well to understand the state of data. You can ping Joel on Discord