Replace MapProxySource with some javascript code
ClosedPublic

Authored by ahiemstra on Thu, May 14, 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.Thu, May 14, 4:37 PM
Restricted Application added a project: Plasma. · View Herald TranscriptThu, May 14, 4:37 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
ahiemstra requested review of this revision.Thu, May 14, 4:37 PM
ngraham accepted this revision.Thu, May 14, 6:58 PM
This revision is now accepted and ready to land.Thu, May 14, 6:58 PM
mart accepted this revision.Fri, May 15, 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];
});