subsurface/map-widget/qml
Lubomir I. Ivanov 64e2247aa7 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>
2018-03-15 23:27:18 +02:00
..
icons map-widget: move the widget and its resources to 'map-widget' 2017-11-05 14:48:56 -08:00
MapWidget.qml MapWidget.qml: try to preserve zoom when opening Google Maps 2018-03-15 23:27:18 +02:00
MapWidgetContextMenu.qml mapwidget: QtQuick really to 2.5 2017-12-24 11:33:46 -08:00
MapWidgetError.qml mapwidget: QtQuick really to 2.5 2017-12-24 11:33:46 -08:00