Anticipating an edge case. Right now for "nearby" search, I sort results by nearest to the center of the view. I compare lat and lng values. However I know there's an "overflow"/"underflow", at 180/-180 or something. So if you're searching near one of these extremities, search will probably not return everything. Let's address that somehow.
Anticipating an edge case. Right now for "nearby" search, I sort results by nearest to the center of the view. I compare lat and lng values. However I know there's an "overflow"/"underflow", at 180/-180 or something. So if you're searching near one of these extremities, search will probably not return everything. Let's address that somehow.