Application to guide students through lovely campus of sfu
- Display Shots
- Programming Language used
- Prerequisites
- Opening the project
- Enabling Maps and Directions API
- Installing
- Run the app
- File Name
- Key Features
- Contact info
This project uses Flutter - a free and open-source mobile UI framework which uses a programming language called Dart.
- Start Android Studio.
- Open plugin preferences (Preferences > Plugins on macOS, File > Settings > Plugins on Windows & Linux).
- Select Browse repositories, select the Flutter plugin and click Install.
- Click Yes when prompted to install the Dart plugin.
- Click Restart when prompted.
- After that : click βOpen existing Android Studio Projectβ
- Get the API key
- Clone the repo.
https://github.com/AshCatchEmAll/Sfu_Interactive_Map.git
- Install flutter SDK and Set up your editor
- Enter API in Keys.dart file
static const directionAPI = "Put your API here"
- Enter Api in android>App>source>main
android:name="com.google.android.geo.API_KEY"
android:value="Put your key here"/>
-
In the target selector, select an Android device for running the app. If none are listed as available, select Tools> Android > AVD Manager and create one there. For details, see Managing AVDs.
-
Please get and upgrade packages by typing these commands
- From the terminal: Run flutter pub get . OR.
- From Android Studio/IntelliJ: Click Packages get in the action ribbon at the top of pubspec. yaml .
- From VS Code: Click Get Packages located in right side of the action ribbon at the top of pubspec. yaml .
-
Click the run icon in the toolbar, or invoke the menu item Run > Run.
- main.dart : The main file containing the first page of app
- Maps.dart : Contains the business logic for the app including displaying map , adding markers, showing routes and so on.
- MyDrawer.dart : This file contains the code for the side menu.
- QrShare.dart : Includes the code for sharing the markers using QR code.
- ImportantContacts.dart : Will display important contacts according to the campus.
- Facts.dart : very few facts about a lovely university.
- Key.dart : Just a separate file for API
- Help.dart : Help to navigate through the app.
- DataBaseProvider.dart : Logic to persist data on the device
- Allows users to choose between three different campus
- Put markers on the map and name them also delete them
- Display route between two user added markers on the map
- Display route between user current location and selected destination
- Share Markers between devices
- Display important contacts and ability to copy number to clipboard on tap
- Beautiful UI and ease of use
- Turn by turn navigation
- Indoor navigation
- Create authentication system so that only SFU students can access the app
- Ability to see reviews about different places on campus
- Store markers on firebase cloud so that saved markers are available across devices for authenticated users
- Make app available for ios and web
- google_maps_flutter: ^0.5.28+1
- geolocator: ^5.3.2+2
- google_map_polyline:
- location: ^3.0.2
- sqflite: ^1.3.1
- path:
- flutter_map: ^0.9.0
- flutter_polyline_points: ^0.2.2
- android_intent: ^0.3.7+2
- qr_flutter: ^3.1.0
- flutter_barcode_scanner: ^1.0.1
- Much thanks to these plugins which made this project successful π
avichare@sfu.ca
- Me, Myself and I π