Hello,-<br><br>my name is Vahagn and I'm new to this group. I'm a Ruby / Rails developer currently based in Denmark but will be moving to the UK soon. <br><br>My main background is in Java and .NET; in 2008, after hearing the call, I've decided to join the community of recovering PHP coders, enterprise survivors, and plain geniuses and migrated to Rails. I like it so far.<br>
<br>I've just released a brand new webapp that allows for searching for the world's functional gyms. One thing I'm not an expert at is JavaScript and the Google APIs. Too bad for me - the only part of the app that does not work is where te search results are shown on Google Maps. Here's an example:<br>
<br><a href="http://functionalgyms.com/gyms/locate?address=San+Diego&within[miles]=1">http://functionalgyms.com/gyms/locate?address=San+Diego&within[miles]=1</a><br><br>(A search for a gym in San Diego within the radius of 1 mile).<br>
<br>I've asked on the Google Maps API forum. I've debugged. I've asked the author of the recipe, Andre Lewis, directly (Advanced Rails Recipes, PragProg, 2008, the recipe is called "Mark locations on a Google Map"). He's not sure what the problem is. I'm not sure either (it's not my code). I've asked at the <a href="http://ruby-forum.com">ruby-forum.com</a>. So far, to no avail.<br>
<br>To cut a long story short, I'm looking for a person with some insight into JavaScript and Google Maps, that would be so kind as to show me where the error / fault is so that I can get rid of this enigma and get my webapp to fully functional. I promise to drench this person in beer (on the inside), as one of my first duties upon arrival in the UK.<br>
<br>As to the complexity of the task: I'm not posting any code here as this is just an initial request for help, but it's a really short JS function (two really - one nested within the other), written exactly as in the book, that does not work as intended. All the important background stuff (like the geocoding of addresses with the Rails GeoKit plugin), are in place and working fine. I have a feeling that it is some banal but hard-to-see-for-a-newbie JS quirk.<br>
<br>Anyone?<br><br>Best,<br>Vahagn<br>