summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanjiban Bairagya <sanjiban22393@gmail.com>2016-09-26 20:23:50 (GMT)
committerSanjiban Bairagya <sanjiban22393@gmail.com>2016-09-26 20:23:50 (GMT)
commit4e862bbfc4bbe432ecc981e5a5008ad59a7adb27 (patch)
treec2d1c16ed9f47be988e5e2ce46197c6606432e3f
parentac95285731f09b4e416aab2ac84fa18a129ea4cd (diff)
When user opens app and lands on a portion of map which contains
user's current position, make position marker visible
-rw-r--r--src/lib/marble/declarative/MarbleQuickItem.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/marble/declarative/MarbleQuickItem.cpp b/src/lib/marble/declarative/MarbleQuickItem.cpp
index f8fddb1..3f8dbe0 100644
--- a/src/lib/marble/declarative/MarbleQuickItem.cpp
+++ b/src/lib/marble/declarative/MarbleQuickItem.cpp
@@ -232,6 +232,7 @@ namespace Marble
else {
emit positionAvailableChanged(false);
}
+ updatePositionVisibility();
}
void MarbleQuickItem::positionChanged(const GeoDataCoordinates &, GeoDataAccuracy)