From 7caa7c5d7c5454ec79fb90f102508565f432c5b1 Mon Sep 17 00:00:00 2001 From: Naoto Yamaguchi Date: Sat, 10 Aug 2024 07:12:36 +0900 Subject: 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 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/documentation/+/30186 Tested-by: Walt Miner Reviewed-by: Walt Miner --- .../Demo_Application/01_Momi_Navi.md | 35 +++++++++++++++++++++ .../Demo_Application/images/mominavi.jpg | Bin 0 -> 20411 bytes 2 files changed, 35 insertions(+) create mode 100644 docs/06_Component_Documentation/Demo_Application/01_Momi_Navi.md create mode 100644 docs/06_Component_Documentation/Demo_Application/images/mominavi.jpg (limited to 'docs/06_Component_Documentation/Demo_Application') 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 new file mode 100644 index 0000000..8e30c05 Binary files /dev/null and b/docs/06_Component_Documentation/Demo_Application/images/mominavi.jpg differ -- cgit 1.2.3-korg