deckerst / aves

Aves is a gallery and metadata explorer app, built for Android with Flutter.
BSD 3-Clause "New" or "Revised" License
2.61k stars 98 forks source link

It is recommended to add the call to the map already installed on the phone #1098

Closed nichousha123 closed 2 months ago

nichousha123 commented 2 months ago

Google Translate Detailed description: Because I am a user from mainland China, the Google Maps data is too old. The Baidu Maps app is installed on my phone. It is recommended to add a button. After clicking it, the name of the map software that comes with the phone will pop up. After clicking the name, the corresponding map will be opened. Because the coordinate formats of Google Maps and Baidu Maps are different, it is also necessary to add the map coordinate format conversion code.

This is the Baidu Maps coordinate conversion instruction document😃https://lbsyun.baidu.com/faq/api?title=androidsdk/guide/tool/coordinate

Looking forward for your reply, thank you

nichousha123 commented 2 months ago

Convert Google Maps coordinates to Baidu Maps coordinates, call and open the map app installed on your phone, the converted coordinates will be automatically filled in, and the location will be directly displayed on the map

nichousha123 commented 2 months ago

😩I don't know how to program, otherwise I would really like to contribute to your project. It's a great project with beautiful UI and powerful functions. I wish the author good health, blessings from faraway China

deckerst commented 2 months ago

It's not clear to me what you are requesting.

If you mean to open a GPS location from Aves in a 3rd party map app, that's already possible, via the full screen viewer menu > Export > Show in map app.

If you mean to integrate other map layers within Aves, it isn't straightforward. Aves needs to be built with the necessary plugins for that specific map layer provider. In the past I did it for Huawei and their Petal Maps, with the plugin they provided, and it was underwhelming because of bad performance and little maintenance on their side. Also, it's closed source and usually requires an API key, with quotas, etc. Google Maps layer integration is an exception because there's no usage quota and the Google Mobile Services are available on most devices.