Passa al contenuto
Menu
La domanda è stata contrassegnata
1 Rispondi
1238 Visualizzazioni

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?

Avatar
Abbandona
Risposta migliore

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

Avatar
Abbandona