diff options
author | 2019-09-08 23:36:12 -0700 | |
---|---|---|
committer | 2019-09-24 19:33:04 -0700 | |
commit | aca9ff0527349d07c7547893d28a3ace89d6edd9 (patch) | |
tree | 7010f1eb58183eb70f4dfc60bfe0393a72d7e14a /app/navigation.qml | |
parent | 5baf475a1acbfee437ab60cbaeaf68fefcaddd35 (diff) |
Revert "qml: breakout MapBox plugin references"
This reverts commit 42551ddcdf41cb1b0bff62a8798f49c7f034c16a.
Bug-AGL: SPEC-2667
Change-Id: Ic1b7d84e2fa58e98e7ba05c5f1b825503aa36e1d
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'app/navigation.qml')
-rwxr-xr-x | app/navigation.qml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/app/navigation.qml b/app/navigation.qml index 2ce1cb6..c4eba78 100755 --- a/app/navigation.qml +++ b/app/navigation.qml @@ -60,7 +60,11 @@ ApplicationWindow { width: parent.width height: parent.height - plugin: MapPlugin { } + plugin: Plugin { + name: "mapbox" + PluginParameter { name: "mapbox.access_token"; + value: fileOperation.getMapAccessToken() } + } center: QtPositioning.coordinate(car_position_lat, car_position_lon) zoomLevel: default_zoom_level bearing: 0 @@ -210,7 +214,12 @@ ApplicationWindow { RouteModel { id: routeModel objectName: "routeModel" - plugin: MapPlugin { } + plugin : Plugin { + name: "mapbox" + PluginParameter { name: "mapbox.access_token"; + value: fileOperation.getMapAccessToken() + } + } query: RouteQuery { id: routeQuery } |