Skip to content

Commit

Permalink
Fixed Chesapeake Bay bounding box issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdl60660 committed May 27, 2021
1 parent 0a21762 commit 82955fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Map.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@
// Otherwise split by Texas, basically, between Atlantic/Pacific
return (
destinationPoint[0] < -82 && destinationPoint[1] < 31) ? "Gulf of Mexico" :
(destinationPoint[0] < -75.63300750 && destinationPoint[1] > 37.793247 && destinationPoint[1] < 39.61332 ) ? "Chesapeake Bay" :
(destinationPoint[0] < -75.63300750 && destination[0] > -77.684621 && destinationPoint[1] > 37.793247 && destinationPoint[1] < 39.61332 ) ? "Chesapeake Bay" :
destinationPoint[0] > -100 ? "Atlantic Ocean" :
"Pacific Ocean";
}
Expand Down

1 comment on commit 82955fc

@vercel
Copy link

@vercel vercel bot commented on 82955fc May 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.