apneadiving/Google-Maps-for-Rails — Issue #147: Map not displayed
Author: davidfabreguette
Created: 2012-02-01 09:24:01+00:00
State: open

Hi !
I'm using rails 3.1 and ruby 1.9.2.

I followed line by line the quick start / basic configuration :

rails generate gmaps4rails:install
done all migrations needed

The problem is :

When I do '@json = User.all.to_gmaps4rails' I get the correct json with good latitude and longitude but then when I add "<%= gmaps4rails(@json) %>" to my view, the divs are created but nothing's displayed inside. All the scripts required in the application.js file are loaded and no error in js console so no idea why nothing's displayed, any idea ?

Thanks for that gem, seems to be great !