diff options
author | Paolo Angelelli <paolo.angelelli@theqtcompany.com> | 2016-01-22 16:19:32 +0100 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2017-11-29 16:50:20 +0000 |
commit | dd497406d343a60b3173eb6749063abb698c5f1b (patch) | |
tree | c91e4aba28f988ee7cbcbdcaa721515da300a51a /examples/location/places_map/main.cpp | |
parent | 13189f0741c755bfbde889e91c67c168faa3709f (diff) | |
download | qtlocation-dd497406d343a60b3173eb6749063abb698c5f1b.tar.gz |
QtLocation mapviewer example MiniMap improvement
The mapviewer example currently uses the minimap to show a red
MapRectangle sized 10 degrees in latitude and 10 degrees in longitude.
This patch makes the minimap visualize the actual displayed area in
the main map as a red rectangle in the minimap.
The minimap zoom level is also now gently bound to the main map zoom
level.
There's one bug left, though, but not related to this qml component, which
causes the border of the red MapRectangle of the minimap to often be drawn
on the left of the rectangle.
Change-Id: I6ba332bf72f0489f5ada765c85f6890a09ca1a98
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'examples/location/places_map/main.cpp')
0 files changed, 0 insertions, 0 deletions