DEV Community

loading...

Discussion on: Tutorial: GeoSpatial Search In MongoDB The Easy Way!

Collapse
willysierra profile image
William Sierra

Hi, I implemented all the steps but the final result is Zero, I use the exact same coordinates that the example and I get zero results, do you know what can I be missing?

Collapse
djnitehawk profile image
Dĵ ΝιΓΞΗΛψΚ Author

i just copy/pasted the above code into a new console project and it works fine. here's a gist if you wanna try again. the only thing i had to add was the connection initialization.