From 84ffd7b720c4b103befd6fc7682618201f07bb65 Mon Sep 17 00:00:00 2001 From: Matt Ranostay Date: Wed, 22 Nov 2017 13:31:41 -0800 Subject: navigation: qml: default map center to null island Currently it is defaulting to London before it gets a GPS or GeoClue location data which can be confusing. Better to center it on open water till location is known Bug-AGL: SPEC-1068 Change-Id: I9f4af70c194eb290ce5670c802b9b87f6475de11 Signed-off-by: Matt Ranostay --- app/map/MapComponent.qml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/map/MapComponent.qml b/app/map/MapComponent.qml index f8e8e37..84ee7fe 100644 --- a/app/map/MapComponent.qml +++ b/app/map/MapComponent.qml @@ -75,6 +75,13 @@ Map { signal showPointMenu(variant coordinate) signal showRouteList() + + center { + // null island + latitude: 0 + longitude: 0 + } + function geocodeMessage() { var street, district, city, county, state, countryCode, country, postalCode, latitude, longitude, text -- cgit 1.2.3-korg