diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2018-03-14 20:06:13 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2018-03-15 23:27:18 +0200 |
commit | 64e2247aa719da2096ada77984f15a242171a089 (patch) | |
tree | 33555776140501978c0451accc5a464da711e4f6 /subsurfacetemplate.tex | |
parent | 16b3892f22225640a0c30fd45353aa9805b2be9d (diff) | |
download | subsurface-64e2247aa719da2096ada77984f15a242171a089.tar.gz |
MapWidget.qml: try to preserve zoom when opening Google Maps
Extend openLocationInGoogleMaps() so that the current
map widget zoom level is roughly mapped to the Google Maps
zoom level.
The two zoom scales are quite different. Google Maps uses meters
directly, while the QML map uses a scale from ~1 - 21.
The approximation is done via exponential regression over
a small data set gathered from experiment.
Add a console.log() call so that the URL is logged.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'subsurfacetemplate.tex')
0 files changed, 0 insertions, 0 deletions