amplify-flutter icon indicating copy to clipboard operation
amplify-flutter copied to clipboard

Feature request - Support for AWS Location Services in Amplify using Flutter

Open vincelafratta opened this issue 2 years ago • 11 comments

We are looking to use Amplify with Flutter on a new mobile app we are creating. Geo/Mapping functionality is at the core of this particular app. I would like to limit the services we use in our app to just AWS whenever possible.

Is this something that might already be in the roadmap, or has it not yet been considered?

vincelafratta avatar Dec 15 '22 20:12 vincelafratta

Really wouldn't hold my breath on this one. They won't even add AWSGEOPOINT as a data type the way Firebase and other platforms have since done.

TC3000 avatar Dec 22 '22 11:12 TC3000

Hi @vincelafratta - thank you for raising this feature-request! We will provide an update on this Github issue when we have some next steps. What are the use cases that you are looking for?

abdallahshaban557 avatar Dec 22 '22 17:12 abdallahshaban557

In our case, we would like an easy way to store Geo-coordinates (latitude/longitude). In addition to this, we also prefer there be Geo related methods that would allow developers to:

  • get the distance between two geo points.
  • get objects near a geo point, i.e fetch nearby restaurants within a given radius.

For reference, please look at the Parse-Server platform that does all of this excellently.. https://www.back4app.com/docs/flutter/parse-sdk/data-objects/flutter-geolocation

TC3000 avatar Dec 24 '22 09:12 TC3000

This is really helpful - thank you for these details @TC3000! Happy new year!

abdallahshaban557 avatar Jan 03 '23 21:01 abdallahshaban557

Hello, any updates on this? As in our company we have a very similar use case?

tassosgeo avatar Jun 30 '23 07:06 tassosgeo

Hi @tassosgeo - we do not have an update or movement on this yet. We will keep you updated on this Github issues when we have an ETA in mind.

abdallahshaban557 avatar Jul 07 '23 21:07 abdallahshaban557

Our use case is twofold:

  1. geo-fencing for releases
  2. distance between two-points to match people based on distance.

dgagnon avatar Jul 08 '23 17:07 dgagnon

Thank you for the details on your use cases @dgagnon !

abdallahshaban557 avatar Jul 08 '23 19:07 abdallahshaban557

Are we any closer to supporting Geo queries?

TC3000 avatar Sep 27 '23 02:09 TC3000

You can create a backend in a supported language like ts, which serves as an interface between your application and AWS Geo services. And to use maps you can use the flutter_map, vector_tile_renderer and vector_map_tiles library to load the map using the url provided by AWS 'https://maps.geo.us-east-1.amazonaws.com/maps/v0/maps/$mapAppName/style-descriptor?key=$apiKey';

inergarcia avatar Dec 27 '23 15:12 inergarcia

From where you get this URL ? , And I suppose even if it works then it'll show just show a map preview where you can't mark down location or put markers, right?...open to any suggestion.

jheel23 avatar Apr 22 '24 11:04 jheel23