[Marble-bugs] [Bug 310575] New: Implement the KML random color mode

Dennis Nienhüser earthwings at gentoo.org
Fri Nov 23 22:05:32 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=310575

            Bug ID: 310575
          Keywords: junior-jobs
          Severity: task
           Version: 1.6.0 (KDE 4.11.0)
          Priority: NOR
          Assignee: marble-bugs at kde.org
           Summary: Implement the KML random color mode
    Classification: Unclassified
                OS: Linux
          Reporter: earthwings at gentoo.org
          Hardware: Other
            Status: NEW
         Component: general
           Product: marble

It's possible to define random colors in .kml files. Make Marble calculate
suitable values and display them.

Random colors (as per colormode=random) are already read from kml files and
available in GeoDataColorStyle. Extend it to implement a QColor paintColor()
const method which returns, acoording to the colormode, either the original
color or a randomized color. Randomized colors need to be calculated according
to the kml spec, see
https://developers.google.com/kml/documentation/kmlreference#colormode

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Marble-bugs mailing list