/flutter-navigation-example

A turn-by-turn example application for vietmap_flutter_gl and vietmap_flutter_navigation library

Primary LanguageDartMIT LicenseMIT

Vietmap Flutter GL - Flutter map SDK

Download the demo app:

Contact vietmap.vn to register a valid key.

Getting started

This project use vietmap_flutter_navigation and vietmap_flutter_gl to show and navigate on map. Please read the document of these packages before using this package. VietMap provide many features to help you build a map application easily, please follow our organization on pub.dev.

Environment configure

  • Create .env file, which contains all content as example.env file we created.
  • Replace your api key to the YOUR_API_KEY_HERE tag in Info.plist file.
  • If you need to test the Android Auto, please replace your api key to YOUR_API_KEY_HERE tag in android/app/androidauto/src/main/java/vn/vietmap/androidauto/VietMapCarAppScreen.kt file.

Test the Android Auto

This app only work with DHU emulator, cause Android Auto feature can't use with physical device until deploy on the Play Store

1. Please following this official documentation from Google about Desktop Head Unit (DHU) here

SDK location:

MacOS: /Users/<username>/Library/Android/sdk

Windows: C:\Users\<username>\AppData\Local\Android\sdk

Linux: /home/<username>/Android/Sdk

CD to the DHU folder

cd SDK_LOCATION/extras/google/auto

Run the DHU

desktop-head-unit.exe   # Windows
./desktop-head-unit     # macOS or Linux

2. Start the DHU

3. Connect the real device to the DHU

4. Run the app on the real device

5. Open the Android Auto app on the DHU

Integration Android Auto





Email us: maps-api.support@vietmap.vn

Contact for support

Vietmap API document here

Have a bug to report? Open an issue. If possible, include a full log and information which shows the issue. Have a feature request? Open an issue. Tell us what the feature should do and why you want the feature.

Tài liệu tiếng Việt