Are you using the right Mongo geospatial query?
摘要
We recently got a report from one of our galleries in the Los Angeles area that they weren’t showing up on our Los Angeles exhibition listings.
I fielded the report and right away confirmed: when we asked our core API for /shows?near=
, sure enough this gallery partner didn’t make the cut. Turns out they are based in Santa Monica, a separate and neighboring municipality. They must not be within the 25km radius that we use by default for these sorts of queries.
欢迎在评论区写下你对这篇文章的看法。