Replace MapProxySource with some javascript code
ClosedPublic

Authored by ahiemstra on May 14 2020, 4:37 PM.

Details

Summary

MapProxySource has only been added to QuickCharts master so is not
available in 5.70, so we cannot use it here. So replicate it using a bit
of JavaScript code.

Test Plan

Now works without 5.71

Diff Detail

Repository
R111 KSysguard Library
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
ahiemstra created this revision.May 14 2020, 4:37 PM
Restricted Application added a project: Plasma. · View Herald TranscriptMay 14 2020, 4:37 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
ahiemstra requested review of this revision.May 14 2020, 4:37 PM
ngraham accepted this revision.May 14 2020, 6:58 PM
This revision is now accepted and ready to land.May 14 2020, 6:58 PM
mart accepted this revision.May 15 2020, 8:59 AM
This revision was automatically updated to reflect the committed changes.
broulik added inline comments.
faces/import/SensorFace.qml
49

To match "Map"proxy source could have done ;)

const controller = root.controller;
return controller.highPrioritySensorIds.map((sensor) => {
    return controller.sensorColors[sensor];
});