Skip to Content
Menu

GOOGLE MAP FIELD

by
Odoo
v 17.0 Third Party 67
Download for v 17.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 560
Technical Name google_map_field
LicenseLGPL-3
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 560
Technical Name google_map_field
LicenseLGPL-3

Google Map Field Widget for Odoo

This Google Map field widget is designed for use in your Odoo application. It allows users to enter addresses efficiently by integrating Google Maps, providing address suggestions as they type. The selected address is then stored in the field for later use, and users can interact with the map to visually update the address.

The widget is linked to a char field with the widget property set to google_map_field.

How the Google Map Field Works:

  1. Activate Google Maps API: Before using the widget, you must activate your Google Maps API key once. The key is necessary to enable the address search and map functionalities. If you don't have an API key, you can easily obtain one from the Google Maps Platform.
  2. Start Typing an Address: As soon as the user starts typing an address in the field, the widget communicates with Google Maps to suggest possible address matches in real-time. This provides an easy way to find the correct address without having to manually enter the full details.
  3. Select an Address: After typing, the user can choose from the list of suggested addresses. Once an address is selected, it is automatically saved to the field. The selected address is stored in its proper format, ready for use throughout the application.
  4. Open the Map View: To ensure the address is correct, the user can click the pin icon. This opens a map view of the selected address, which provides a visual representation of the location.
  5. Update the Address on the Map: If the user wants to make adjustments to the selected address, they can drag the pin on the map to a new location. The address will automatically update to reflect the new position, ensuring that the stored address is always accurate.

Note: The widget only requires the Google Maps API key to be activated once. If the API key is missing or incorrect, the widget will not function properly, so make sure to enter a valid API key.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
Help me, pls
by
Bui Ngoc Quynh
on 4/2/25, 10:34 PM

Sir, your app is very useful, but I don't have MapRenderer. When I deleted that import and entered the address, it wasn't real-time. I hope you can assist me with this.

Re: Help me, pls
by
Bron
on 4/17/25, 4:44 AM Author

sorry for long responding, this app does not need MapRenderer even though having it imported 

i have removed it in the last update


There are no comments yet!