Skip to main content

Map Integration

Viax uses Flutter Map with Mapbox tiles for high-quality, interactive navigation.
The app uses Mapbox for map tiles and routing, providing accurate navigation with real-time traffic data.

Map Features

Real-Time GPS

Continuous location tracking with high accuracy

Route Optimization

Best path calculation avoiding traffic

Turn-by-Turn

Voice and visual navigation guidance

Live Traffic

Real-time traffic conditions and alerts

Map Service Implementation

Mapbox Service

The app uses a centralized Mapbox service:
Mapbox Service

Route Model

Mapbox Route Model

Map Display

Flutter Map Widget

The driver app uses Flutter Map for rendering:
Map Implementation

Turn-by-Turn Navigation

Navigation Instruction Card

External Navigation Apps

Launch External Navigation

Drivers can use their preferred navigation app:
Navigation Launcher Service

Traffic & Route Optimization

Real-Time Traffic Data

Traffic Integration

GPS Best Practices

Always use high accuracy GPS for trips:
Balance accuracy and battery:
  • Use distanceFilter: 10 to update every 10 meters
  • Reduce update frequency when stationary
  • Stop tracking when trip is complete
Handle poor connectivity:
  • Cache map tiles for frequent areas
  • Store last known route
  • Show offline indicator to user
Navigation Tips:
  • Keep GPS on during entire trip
  • Ensure location permissions are granted
  • Use external navigation for complex routes
  • Monitor battery level on long trips

Next Steps

Trip Execution

Complete trip workflow from start to finish

Earnings

Track your income from completed trips