diff --git a/fixme.yaml b/fixme.yaml
index dffa1e8..4ecdee5 100644
--- a/fixme.yaml
+++ b/fixme.yaml
@@ -11,6 +11,15 @@ feature:
{% set m = k|matches('^fixme(:(.*))?$', 'i') %}
{% if m %}
{% set fixme = v %}
+ {% set category = m[2] %}
+ {% endif %}
+ {% endfor %}
+ {% endif %}
+
+ {% if not category %}
+ {% for k, d in const if d.match %}
+ {% if fixme|matches(d.match, 'i') %}
+ {% set category = k %}
{% endif %}
{% endfor %}
{% endif %}
@@ -36,3 +45,48 @@ feature:
{% endif %}
body: |
{{ fixme == 'yes' ? keyTrans('fixme') : fixme }}
+ markerSymbol: |
+ {{ markerPointer({ fillColor: const[category].color|default('#f2756a') }) }}
+ listMarkerSymbol: |
+ {{ markerCircle({ fillColor: const[category].color|default('#f2756a') }) }}
+filter:
+ category:
+ name: Category
+ show_default: true
+ type: select
+ values: |
+
+
+
+
+
+
+
+
+const:
+ default:
+ color: '#f2756a'
+ name:
+ match: 'name'
+ color: '#00b6a9'
+ incomplete:
+ match: '(continue|incomplete|unfinished)'
+ color: '#bb972f'
+ position:
+ match: '(position|location)'
+ color: '#71ab43'
+ addr:
+ match: 'addr'
+ color: '#0070b6'
+ maxspeed:
+ match: 'maxspeed'
+ color: '#a36af2'
+ resurvey:
+ match: 're-?survey'
+ color: '#00b647'
+ verify:
+ match: '(verify|recheck)'
+ color: '#eeb600'
+ import:
+ match: 'import'
+ color: '#a6b600'