JasonThomasData / DocLink

Web app (Rails) for refugees to find bulk-billing doctors nearby
0 stars 1 forks source link

Google Maps address issue #25

Closed JasonThomasData closed 8 years ago

JasonThomasData commented 8 years ago

An issue with Google maps is the way it accepts arguments. Each address is separated by a /. This means that the address - 2/236 Macquarie Street, Liverpool NSW 2170 is going to appear as 2 in maps. I think we should have a function in the doctors helper to remove substrings of / from the larger string, so the entire address is passed in a single argument.

This is actually something I'm capable of doing! On it.

JasonThomasData commented 8 years ago

Fixed now. I added some functions in the doctors helper to remove / from the query string, replaced with ,