digital_electricity limit pan area

Authored by timotheegiet on Mar 8 2018, 11:59 AM.

Description

digital_electricity limit pan area

limit zoom area to have 2 levels of zoom in and 2 levels of zoom out
limit pan area accordingly

(cherry picked from commit 26dca81473d3a3b6c61618e7d014575f69f3b611)

Details

Committed
timotheegietMar 8 2018, 12:20 PM
Parents
R2:71139b1049ef: geography, correct Ireland borders
Branches
Unknown
Tags
Unknown
Restricted Application added a subscriber: jjazeix. ยท View Herald TranscriptMar 8 2018, 12:22 PM
jjazeix added inline comments.Mar 8 2018, 12:46 PM
/src/activities/digital_electricity/DigitalElectricity.qml
123

it's better to use the real types in qml (int, real, double, string...)

371

no need of the 0 here and below

cleaned those, thanks