0

in Query for Locations Near a GeoJSON Point

    val refPoint = Point(Position(-73.9667, 40.78))
    collection.find(Filters.near("geo.coordinates", refPoint, 5000.0, 1000.0)).printResults()

I have these errors: -Cannot resolve overloaded method 'find' -Cannot resolve overloaded method 'near'

any one have an idea to solve this?

my user
  • 1
  • 1

0 Answers0