Fix Map.toCoordinate always clamping y values to 0
This patch allows to call toCoordinate also on negative y values, given
that the y value is still below the horizon. If not, the y value
will be clamped to the "minimum unprojectable y value", a value that
is clamped to 0.
Task-number: QTBUG-61813
Change-Id: I177d3b459b6eaf827daf860b7d4011511a7e76ee
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
| commit | b02916a5568d57eda767ca930dcdb366179250bc |
| parent | d4cb4961ed0a15d0746d96da38228787658d87bd |
| author | Paolo Angelelli <paolo.angelelli@qt.io> |
| committer | Paolo Angelelli <paolo.angelelli@qt.io> |
| commit time | Mon, 17 Jul 2017 12:40:30 +0000 |