top of page
  • Writer's pictureTek Siong, Hock

Embed Google Map In Your Odoo Custom Module

Updated: Oct 22, 2020

  1. Download Odoo module web_widget_google_maps

  2. Get the google map API Key (which may incurred fees).

  3. Go to the General Settings ->Website, to enter the Google Map Key.

  4. Add the widget to your module with the latitude and longitude. You may insert it in the form page. See the code snippet below.

  5. If you website is https, remember to changed the google map URL in the web_gmap.js (web_widget_google_maps module) to https, otherwise may be blocked by the chrome.

Click "Like" at the bottom of this blog, to motivate us to continue sharing more Odoo tips.

<widget name="gmap_marker" lat="last_gps_latitude" lng="last_gps_longitude"description="Truck Location"/>                                   

965 views0 comments

Recent Posts

See All


bottom of page