Which Road to the Beer?

“Driving Directions” functionality has been added to the US Brewery Maps. So far there is only one real bug popping up after implementing the driving directions and it is sort of a biggie. If a user selects a brewery/brewpub with an apostrophe in their name, an error will occur after linking to google for the directions. The work around is fairly easy to handle, but it’s not clear to the first time user just what might have happened.

To “fix” this issue, you would simply make sure that the “End” address field on google contains only the latitude and longitude. Google “hangs up” on the apostrophe and my code doesn’t have a chance to close the parenthesis so an error occurs. Removing the parenthesis and all text, or closing the parenthesis manually will both work as a work around for this bug. I will be playing around with the code to see how I can make these errors go away.

We will be updating the City Beer Maps to have an option for Directions soon.

Regardless of any of these issues; Stone Brewing Company is only 1 day and 12 hours from my house!

pass The Beer Mapping Project along: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • E-mail this story to a friend!
  • TwitThis
  • Google
  • Live
  • YahooMyWeb
  • Technorati
  • Facebook
  • Reddit
  • StumbleUpon
  • del.icio.us
  • Fark
  • Furl
  • Ma.gnolia

No Responses to “Which Road to the Beer?”

No comments yet

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Advertise Here

Most Recent Review
Forums | Brewery Maps | City Maps
Add this Map to Your Google Homepage


Advertise Here