diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-11-22 13:31:41 -0800 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-11-22 13:31:56 -0800 |
commit | 84ffd7b720c4b103befd6fc7682618201f07bb65 (patch) | |
tree | 7e2257294a74281505a519f8b2b310abf304b93b /app/map/MapComponent.qml | |
parent | 10244d53d2dfb8e838b84561c4275bc61487837f (diff) |
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 <matt.ranostay@konsulko.com>
Diffstat (limited to 'app/map/MapComponent.qml')
-rw-r--r-- | app/map/MapComponent.qml | 7 |
1 files changed, 7 insertions, 0 deletions
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 |