diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-07-20 02:51:34 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-07-28 07:31:11 -0700 |
commit | 468f3b57c0a8a4b18a084822b3926ba7b6128a31 (patch) | |
tree | 4a8ded8107de7f7715bf2ce201bedd60e3a3eb8a /mobile-widgets/qml/GpsList.qml | |
parent | 8b224358095f3c09c69b44ade14b48e7042ac2a7 (diff) | |
download | subsurface-468f3b57c0a8a4b18a084822b3926ba7b6128a31.tar.gz |
mapwidget.qml: simplify the map type enumeration into "mapType"
Make the "enumeration" local to the Map object for now.
This will possibly break if another plugin is used in place of the
ESRI plugin, but it will simplify the map toggle button which is about
to be implemented next.
If support for multiple plugins is added on runtime a simple
helper function will be needed that will check the current plugin "name".
And return the appropriate supportedMapTypes[X] for e.g. STREET of that
plugin.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'mobile-widgets/qml/GpsList.qml')
0 files changed, 0 insertions, 0 deletions