I am having an issue I don’t know how to fix. So, the basic idea is I have a database of courses. Those courses can be held in a city or can be “virtual”, so anyone in the world can attend those online.
I am using instantsearch.js
On the courses page I have an filter to search only courses in Toronto, Canada for example. I am settings the latitude and lognitude and searching all courses from that city with 100km radius. This worked, but the client wants to display the “virtual” courses too when geofiltering is on.
I tried to play with insideBoundingBox parameter but don’t know how to do that.
So the basic idea is that virtual courses have 0.000000000 for longitude and latitude. I wanted to include those with lat&long 0.000000000 in the geofilter.
Any idea on how to do that?