Grain Hauling Cost Map

Click a pin to set your starting point, then click another pin to see the driving distance and fuel cost for that haul.

Truck & Fuel Settings

Map

Yellow pin = your farm. Blue = co-op elevators, red = ethanol plants, purple = feed mills — same coloring as your My Maps. Click a pin to see its bid-page link and select it for a route; click a second pin to calculate that trip.
Map didn't load. This usually means the Google Maps API key below still needs to be added (or billing enabled) — see the setup notes at the bottom.
Click a pin to begin.
Driving distance
Round trip miles
Fuel used (round trip)
Fuel cost (round trip)
Net price after fuel
Fuel cost = (round-trip miles ÷ truck mpg) × diesel price. Net price after fuel = (bid × bushels after shrink − fuel cost) ÷ truck capacity. This only nets out fuel — add your own math for any per-load hauling fee on top if you pay one.

41 locations are loaded in from your My Maps export. The one thing it didn't have was your farm/loadout point — that's a placeholder pin right now. Edit the first entry in the gtLocations list near the top of the script (search for EDIT: your exact loadout point) and set it to your real coordinates. Right-click that spot on Google Maps and click the coordinates shown to copy them.