Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
1240 Переглядів

I am a user of Odoo 15. I have created an eCommerce website using the website module in Odoo. I want to display the latitude and longitude of the customer's location when they check out an order, using Google Maps. Can you please provide a solution for this?

Аватар
Відмінити
Найкраща відповідь

Hi,

You can use Geolocation API. It is a service that accepts an HTTPS request with the cell tower and WiFi access points that a mobile client can detect. It returns latitude/longitude coordinates and a radius indicating the accuracy of the result for each valid input.
For more please refer to the following link:-
https://developers.google.com/maps/documentation/geolocation/overview
Refer to the following app which helps you to integrate Geolocation API
https://apps.odoo.com/apps/modules/16.0/customer_geolocation/

Hope it helps

Аватар
Відмінити