Support Topics Documentation Slack YouTube Blog

distanceOnSphere not working properly

distanceOnSphere return no results when it should return result

https://api.backendless.com/07D0CC0C-4A50-198B-FFFB-78866CCD9600/806D91B6-2256-D613-FF9E-3FA99689F600/services/StoreService/category_stores?lat=25.233402599999998&lng=45.247833899999996&distance=5000

https://api.backendless.com/07D0CC0C-4A50-198B-FFFB-78866CCD9600/806D91B6-2256-D613-FF9E-3FA99689F600/services/StoreService/category_stores?lat=25.231746&lng=45.252278&distance=5000

both are passing the same location almost. the second one have the correct result and the first one have no result.

@mark-piller Hey
can you please take a look at this? my app is not getting any result after i switched to the new location system

Hello @mohammad_altoiher,

We’ll investigate this issue and answer you as soon as possible.
Regards, Inna

We have already created an internal ticket BKNDLSS-20569 and are now working on a solution to this problem. We will notify you of the result as soon as possible.

1 Like

Hello @mohammad_altoiher

We’ve released the new version of Backendless.
Please, could you confirm that this issue doesn’t appear?

Regards,
Inna

Hey
so far so good! thank you. i will let you know if there is an issue