[LRUG] Introduction and a request for JS help

Vahagn Hayrapetyan vahagnh at gmail.com
Fri Jan 23 07:18:12 PST 2009


Hello,-

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.

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.

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:

http://functionalgyms.com/gyms/locate?address=San+Diego&within[miles]=1

(A search for a gym in San Diego within the radius of 1 mile).

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 ruby-forum.com. So far, to no avail.

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.

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.

Anyone?

Best,
Vahagn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20090123/594249ea/attachment.html>


More information about the Chat mailing list