TIP: You can type at any time to perform a new search.
Mapbox Widget
web_widget_mapbox · OCA/geospatial
- Repository
- OCA/geospatial · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Hidden
- Folder size
- 0.12 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/geospatial
- Last tracking update
- 2026-09-17 11:19:30
- Authors
- Odoo Community Association (OCA), Cetmix
- Maintainers
- Odoo Community Association (OCA), Cetmix
- Committers
- OCA-git-bot, oca-ci, Ivan Sokolov
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- web_widget_mapbox_demo
- Description
This module adds a form-view Mapbox map widget for JSON fields. Declare a `fields.Json` field on any model and set `widget="mapbox"` in the form arch. The widget renders markers from a JSON payload, supports map and satellite styles, zoom, pan, pitch, and fullscreen, and can open a popup form when a marker is marked clickable. Markers may use optional Font Awesome icons, sizes, and HEX colors. When several markers share a location, earlier items in the payload are drawn on top. The Map / Satellite control remembers the last choice in the browser and applies it to every mapbox widget on that origin. Mapbox GL JS is loaded from the Mapbox CDN at runtime and is not vendored in this addon.
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
res_config_settings_view_form |
res.config.settings.view.form.inherit.web_widget_mapbox | res.config.settings | form | Inherits base_setup.res_config_settings_view_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (0)
No new fields.
Public methods (1)-
session_info(self)
New fields (1)
-
mapbox_tokenCharconfig_parameter='web_widget_mapbox.token'help='Public Mapbox access token used by the Mapbox form widget. Create a token at https://account.mapbox.com/.'
No public methods.