pushed
zhengqunkoo/taxibros • 5:04 AM - Aug 4, 2018
This change extracts the recurring pattern of parsing a lat,lng string and wrapping it in google.maps.LatLng into a new parseLatLngMaps() helper. Both the map autocomplete flow and itinerary table visualization now use the shared function instead of open-coding the conversion in multiple places, reducing duplication and making coordinate handling more consistent. The behavior stays the same, but the code is easier to maintain and less error-prone the next time map-related logic changes.
