diff options
author | Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> | 2024-08-10 07:12:36 +0900 |
---|---|---|
committer | Walt Miner <walt@linux.com> | 2024-08-19 20:56:18 +0000 |
commit | 7caa7c5d7c5454ec79fb90f102508565f432c5b1 (patch) | |
tree | ce1bee14c8fb829e41fed5f4f383baf67c4b095c /docs/06_Component_Documentation/Demo_Application | |
parent | 3bb76ac17d36d29763c8d803d964574e1343b165 (diff) |
Add Momi Navi information to documentation
The Momi Navi need few environment variable to show map and customize view.
This patch add these information.
Bug-AGL: SPEC-5224
Change-Id: I64e19175bdaa1e8c63f8bd2b796c98bdf91fb69b
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/documentation/+/30186
Tested-by: Walt Miner <walt@linux.com>
Reviewed-by: Walt Miner <walt@linux.com>
Diffstat (limited to 'docs/06_Component_Documentation/Demo_Application')
-rw-r--r-- | docs/06_Component_Documentation/Demo_Application/01_Momi_Navi.md | 35 | ||||
-rw-r--r-- | docs/06_Component_Documentation/Demo_Application/images/mominavi.jpg | bin | 0 -> 20411 bytes |
2 files changed, 35 insertions, 0 deletions
diff --git a/docs/06_Component_Documentation/Demo_Application/01_Momi_Navi.md b/docs/06_Component_Documentation/Demo_Application/01_Momi_Navi.md new file mode 100644 index 0000000..ac0f886 --- /dev/null +++ b/docs/06_Component_Documentation/Demo_Application/01_Momi_Navi.md @@ -0,0 +1,35 @@ +--- +title: Momi Navi +--- + +# What is Momi Navi + +Momi Navi is a example application for navigation. It run on simple ivi demo (that name is momi IVI) for the instrument cluster container integration. + +![](images/mominavi.jpg) + +## How to use + +When you build the instrument cluster integration without momi navi specific setting, it will not show map. You need momi navi specific setting. + +The momi navi uses mapbox gl plugin fo Qt location. It requires own access token to download map. You can create own mapbox access token following [this page](https://docs.mapbox.com/help/getting-started/access-tokens/). + +After creation, please set environment variable to local.conf (or site.conf). + +``` +MOMIMAP_MAPBOX_ACCESS_TOKEN = "Your access token." +``` + +## Extra configuration + +Momi navi supports configuration for customize. + +When you set environment variable to local.conf (or site.conf), you can customize Momi navi. + +| Environment variable | Customizing parametor | +|:---|:---| +| MOMIMAP_MAPBOX_STYLE | Map style | +| MOMIMAP_INITIAL_LATITUDE | Default location | +| MOMIMAP_INITIAL_LONGITUDE | Default location | + +How to create map style, please check [this page](https://docs.mapbox.com/studio-manual/guides/map-styling/). diff --git a/docs/06_Component_Documentation/Demo_Application/images/mominavi.jpg b/docs/06_Component_Documentation/Demo_Application/images/mominavi.jpg Binary files differnew file mode 100644 index 0000000..8e30c05 --- /dev/null +++ b/docs/06_Component_Documentation/Demo_Application/images/mominavi.jpg |