Mapbox Widget Demo
This module is a demo of the Mapbox form widget (web_widget_mapbox) on contacts.
It adds a Mapbox tab on the partner form. The current partner is a draggable star pin; child contacts with coordinates appear on the same map as clickable icons. Demo data includes a company in Memmingen and three nearby contacts.
Table of contents
Configuration
This demo has no settings of its own.
Configure the Mapbox Token in Settings → General Settings → Integrations as described in the web_widget_mapbox module. Without that token the Mapbox tab shows a placeholder instead of a map.
Usage
Open a contact form and go to the Mapbox tab.
The current partner is a bright-yellow star pin. Drag it to a new place and Save to write Geo Latitude / Geo Longitude (the same fields as on the Partner Assignment tab). The star is not clickable.
Child contacts that have coordinates appear as smaller muted-yellow user icons. They cannot be dragged. Click one to open that contact in a popup form.
Partners with no coordinates (both latitude and longitude 0, the base_geolocalize “not localized” state) show the widget placeholder instead of a map.
With demo data loaded, open Memes LLC (Memmingen, Germany). The map shows the company star and three contacts at about 300 m, 900 m, and 1300 m: Doge Much, Pepe Frog, and Chad.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
-
Ivan Sokolov
Other credits
This demo uses the Mapbox form widget (web_widget_mapbox), which loads Mapbox GL JS from the Mapbox CDN. See that module’s credits for licence and Terms of Service notes.
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
This module is part of the OCA/geospatial project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Release files for odoo-addon-web-widget-mapbox-demo 18.0.1.0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| odoo_addon_web_widget_mapbox_demo-18.0.1.0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Release files / odoo_addon_web_widget_mapbox_demo-18.0.1.0.0.3-py3-none-any.whl
| Download URL | odoo_addon_web_widget_mapbox_demo-18.0.1.0.0.3-py3-none-any.whl |
|---|---|
| Size | 31.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
85950bc9fadc45144f2d164386daff328b5716d2728c339e05a15623a2f55f56
|
|
BLAKE2b-256 checksum How to use checksums |
c0f409fedbbd835da39ec00cd534e9a11747662065b73a1d2a4e61189fcfddd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|