Skip to content

Commit

Permalink
Merge pull request #601 from codeforboston/frontend_issue569_homeOrde…
Browse files Browse the repository at this point in the history
…rInRouteMap

fix destination order on apple map
  • Loading branch information
mcarre20 authored Aug 13, 2024
2 parents 1ed655b + 8e9bf80 commit a1932e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/front/src/pages/Surveyor/map/mapUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const generateMapsLink = (locations) => {
);
const destinationURLEncode = `${destinationStreetNumber}%20${destination.street_name}%20${destination.city}%2C${destination.state}%20${destination.zip_code}`;

return `maps://http://maps.apple.com/?&daddr=${destinationURLEncode}${waypoints}&dirflg=d`;
return `maps://http://maps.apple.com/?${waypoints}&daddr=${destinationURLEncode}&dirflg=d`;
} else {
return googleMapLink();
}
Expand Down

0 comments on commit a1932e6

Please sign in to comment.