Forum: Ruby on Rails Geocoding recipe: locations not showing on Google Maps

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Vahagn H. (Guest)
on 2009-01-22 14:41
Hi, can someone helpe me out with a Google Maps issue:

I've incorporated one of the recipes in Advanced Rails Recipes book (the
GeoCoding one). Although everything is done exactly as in the recipe,
the locations do not show up on Google Maps. (The geocoding part of the
recipe works - the Geokit has been tested on command-line and live).

For instance, here's a search using the string "San Diego" and within 1

Exactly one gym is present in the resulting dataset, which is as it
should be - but it doesn't show on the map.

This is probably some JavaScript quirk that just keeps avoiding me (a
relative newbie).

Here's the part of the page that loads the map:

<script type="text/javascript"
GeoKit::Geocoders::google %>"></script>

<% if @gyms -%>
  <script type="text/javascript">
    var gyms = <%= @gyms.to_json %>;
<% end -%>


This topic is locked and can not be replied to.