Feb. 23, 2011, 5:11 p.m.

Ride Free Bike Maps bug fix

So I made another little bug fix to ridefreebikemaps.com/map-creator. I don't know if I want to announce it on the site cause it's minor and another under the hood thing.

I've been plagued by a mysterious error for some time now. I could start creating a map and suddenly the markers and route overlay line would get all wonky. The wrong lines would get cleared from the map when I moved/deleted a marker. I couldn't figure it out for the life of me. I made a lot of fixes but the problem just keep happening. Today I figured out that it was a server error on Google's part. Google then would send my app that info but my app didn't do anything with it. In fact I completely ignored weather Google had a route to give to me at all, oops. I made a quick fix today that should take care of the problem. Now if there is a random error the program will retry the offending directions. If the error is permanent, like trying to get directions in Antarctica, an alert will pop up and let you know that the directions couldn't be calculated and it will delete your last marker.

Of course I'm having a hard time testing the random error so... time will tell.

Fake Edit: I'm still getting an error from that problem. I don't have any more time to work on it though so I'll have to pick it up tomorrow.

Blog

Google Bike Maps Google Bike Map Creator Ride Free Bike Maps