Skip to content

kcms/nightcolor: Replace lat/long number fields with a map

Bharadwaj Raju requested to merge work/bharadwaj/nightcolor-map into master

Most people don't have their latitude and longitude memorized. It is far easier for people to point out their approximate location on a map, than to look up their latitude and longitude online.

This also removes the need for a "Detect Location" button there.

nightcolor-map-2

To-Do

  • Figure out a way to have zooming not turn the map into a blurry mess.
  • Make clicking on the copyright link open it, and for bonus points make the cursor a hand when hovering on it.

Note

This introduces an additional dependency on Qt Location and Qt Positioning, along with their respective QML modules.

Edited by Bharadwaj Raju

Merge request reports