I've been using gmap-pedometer.com for many years to measure distance of my runs and to plan routes. The "automatic" feature measures routes along routes, factoring in the curves. It also has a "manual" feature that goes in a straight line, and is useful for measuring paths that are not in their database (generally, these are off-road paths).