Does Appwrite have GeoPoint similar to firebase: https://firebase.google.com/docs/reference/kotlin/com/google/firebase/firestore/GeoPoint
No, but you can use 2 float attributes.
See https://levelup.gitconnected.com/building-a-location-based-app-with-appwrite-48a2e2b6d4c2#8e5c
do you have plan to integrate this feature in Appwrite?
What can't you do at the moment?
so here is the thing,
in my application there is a services providers such as aircon repair. Now when the customer search an service provider then the results contains names and the kilometers of how much the provider distance. The application also have filter the service provider that near to the customer
so you can calculate bounds locally and then send that to the server to filter the results. After you get the data back, you can run through the data to calculate the distance. To calculate the bounds from a center and distance, you can do something like https://gist.github.com/stnguyen90/145bc06d4ae72c69295a46a05e2092d5
also, will you be showing a map?
nope, btw I will using a flutter i do not know if there is a flutter package to get the bounds like south, north and etc. But what I know I can only get long and lat as of my knowledge for now but I will going to search.
look at my gist
ohh I see thanks steve
"calculate bounds locally and then send that to the server to filter the results" does it mean that I will going to get the current long lat of the customer and use this to send to the server to filter the results, so what kind of filter to be use sir?
read the resources I previously sent
Recommended threads
- Seed db
hello there... is this correct way to seed appwrite
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...