Opened 5 years ago
Last modified 5 years ago
#19574 closed enhancement
[PATCH] Add a color setting for MapCSS — at Initial Version
| Reported by: | taylor.smock | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | 20.08 |
| Component: | Core mappaint | Version: | |
| Keywords: | Cc: |
Description
Subpart of #10435.
Possibly significant modifications for plugins:
- NamedColorProperty extends
AbstractToStringProperty<Color>. I'm waiting for afindto get all the instances ofNamedColorPropertyin plugins, but it is taking awhile (find . -name '*.java' -exec grep -li "NamedColorProperty" \;). I don't know if this will require a recompile of any plugins.
Notes:
- Overrode
storeDefaultValueto avoid an NPE. This is required since requiredfinalvariables are not yet set (a different fix would be to make them non-final). - Color boxes are not in the same column as the check marks (I'm not certain this is possible without a lot of work, or even desirable -- there might be a case for a
colorbooleansetting in the future, for example).
Note:
See TracTickets
for help on using tickets.



Initial colors setting for mapcss