Back to Decisions

Google Maps Platform vs. Mapbox for live tracking map

Accepted
Yuki Tanaka2024-02-05
mapsinfrastructurefrontend
Context
Why this decision needed to be made

The dispatcher map is the core of FreightFlow. We need a mapping library that supports real-time marker updates, custom styling, and scales affordably to 100+ simultaneous drivers.

Options Considered
Comparison of available options
OptionProsConsChosen
Google Maps Platform
  • Familiar to users
  • Excellent geocoding
  • Large ecosystem
  • Expensive at scale ($7 per 1k map loads)
  • Less flexible styling
  • No vector tile customisation
—
MapboxSelected
  • Better pricing at scale ($0.50 per 1k loads above free tier)
  • Custom vector tile styling
  • GL JS handles large marker counts smoothly
  • Less name recognition
  • Geocoding slightly less accurate in some EU regions
Outcome
What was decided

Mapbox GL JS for the live tracking map

Rationale
Why this option was chosen

At projected scale of 500k map loads/month, Mapbox is ~10x cheaper than Google Maps. Custom vector tile styling matches the FreightFlow brand. Performance benchmarks show Mapbox handles 200+ live markers without frame drops.