The Nearest Point

I have…

  • [x ] Read the following guideline: Troubleshooting and Support | Squidex. I understand that my support request might get deleted if I do not follow the guideline.
  • Used code blocks with ``` to format my code examples like JSON or logs properly.

I’m submitting a…

  • Regression (a behavior that stopped working in a new release)
  • Bug report
  • Performance issue
  • [x ] Documentation issue or request

Current behavior

Expected behavior

Minimal reproduction of the problem

Environment

App Name:

  • Self hosted with docker
  • Self hosted with IIS
  • Self hosted with other version
  • [x ] Cloud version

Version: [VERSION]

Browser:

  • Chrome (desktop)
  • Chrome (Android)
  • Chrome (iOS)
  • Firefox
  • [x ] Safari (desktop)
  • Safari (iOS)
  • IE
  • Edge

Others:

Each point of interest (POI) has a defined latitude and longitude. How can we make a call to find the nearest POI?

Hi,
this query type is not supported. But you can search for POIs within a range, e.g. with

geo.distance(data/location/iv, geography'POINT(11.576124 48.137154)') lt 1000

Read more here: https://docs.squidex.io/id-02-documentation/developer-guides/api-overview/api#odata-20