digidem / react-mapfilter

Visualizing, exploring, filtering and printing geographic data and geotagged photos and video
https://lab.digital-democracy.org/mapfilter
29 stars 11 forks source link

Display options for filter labels #68

Closed GoGoCarl closed 6 years ago

GoGoCarl commented 6 years ago

Feature Request:

Allow the options for discrete filters to have custom labels. This would allow for translations or custom formatting to be applied.

Specifically, the issue I am having is with the "Happening" field -- a special field that contains both a label and a color in the format ${label}^${color}. The displayed label shows the full string, where I would want to have the ^${color} portion removed for display purposes. Having the color information is important, though, for correlating the field color with MapFilter settings.

mapfiltercolors