Map Functionality Enhancement for Ride Platform

Job ID: 39305313

Budget: $10 – $30 USD

Project Title

Fix Map Autocomplete & GPS – Leaflet Primary + Google Maps Fallback (PHP)



Description

We need a developer to fix map functionality on our PHP-based ride & delivery platform. The goal is to stabilize GPS detection, enable address autocomplete for both origin and destination, and implement fallback logic: Leaflet (OpenStreetMap) as primary, Google Maps as backup.



Current Setup
• Frontend: Leaflet.js + OpenStreetMap
• Origin autocomplete works
• Destination autocomplete not working
• GPS location not detected (navigator.geolocation)
• No fallback in place
• Backend: Core PHP + Admin Panel
• Google Cloud:
• Maps API + OAuth configured
• OAuth consent screen completed
• APIs to enable:
• Maps JavaScript, Places, Geolocation, Geocoding, Directions
• Distance Matrix, Time Zone
• (Optional) Maps Static, OAuth 2.0



Tasks
1. Fix GPS detection
2. Enable autocomplete for both fields
3. Use Leaflet as default, Google Maps as fallback
4. Ensure full booking flow works
5. Review & fix API key configs in backend/admin