| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 292 |
| Technical Name |
web_widget_maps |
| License | LGPL-3 |
| Website | https://github.com/kurniawanlucky/odoo_addons |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 292 |
| Technical Name |
web_widget_maps |
| License | LGPL-3 |
| Website | https://github.com/kurniawanlucky/odoo_addons |
Web Widget Maps
OpenStreetMap Leaflet No API Key
Display partner or location coordinates directly on a map inside Odoo forms. This widget uses OpenStreetMap tiles with the Leaflet rendering engine.
Key Features
- Interactive map: zoom, pan, and markers.
- Supports single coordinates and x2many locations.
- Read-only display or editable marker placement.
- Mobile-friendly and lightweight.
Widget Usage
Single location:
<field name="latitude" widget="maps"
options="{'lat_field': 'latitude', 'lng_field': 'longitude', 'zoom': 14, 'editable': true}"/>
Multiple locations (x2many):
<field name="location_ids" widget="maps"
options="{'lat_field': 'latitude', 'lng_field': 'longitude'}"/>
Notes
No API key required. Requires the
web_maps module for assets and widget logic.
Please log in to comment on this module