OdooWiki OCA HUB

Google Marker Icon Picker

web_widget_google_marker_icon_picker folder_open OCA/geospatial open_in_new
Extra Tools License: AGPL-3

New widget google_marker_picker allowing user to set marker's color from field Loaded with 20 different marker's color.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Adds a color picker widget for Google map markers, letting users choose one of 20 marker colors from a dropdown on a text field.

This module extends the Google map view provided by the web_view_google_map module. It does not add any new database model or menu; instead it adds a new field widget that can be used on text (char) fields.

When a field uses this widget, the user sees the current marker image and a small dropdown arrow. Clicking the arrow opens a panel showing 20 colored marker images (aqua, blueviolet, blue, brown, deepskyblue, fuchsia, gold, gray, green, indigo, limegreen, lime, maroon, navy, olive, orange, purple, red, teal and yellow). Selecting one immediately stores the color name in the field.

The widget works both when the record is being edited and when it is only being read, so the chosen marker color is always visible. The module also hooks into the Google map renderer so that, when the map library is set to geometry, marker icons are loaded from this module's own image folder, which is what makes the colored markers appear on the map.

All of this happens in the web client; no server-side business rules, scheduled actions or emails are added. The only configuration needed is to set the widget on the desired char field in a form or map view.

Text generated by AI (DeepSeek) from reading the Odoo 14.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 12.0

Confirmed on 2026-11-03 in branch 12.0 of OCA/geospatial.

terminal Installation and usage

OCA documentation · Odoo 14.0

To apply the selecter marker on map, you can tell map view by adding attribute color='[field_name]'

Marker icon by Icons8 https://icons8.com/icon/30568/marker

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.