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
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...