apneadiving / Google-Maps-for-Rails

Enables easy Google map + overlays creation in Ruby apps
https://apneadiving.github.io/
MIT License
2.26k stars 382 forks source link

can't display a map but only border #235

Closed AxelVee closed 12 years ago

AxelVee commented 12 years ago

Hi, I followed the tutorial in youtube, I have an app rails 3.2.6 e ruby 192p290, no error or it seems so but the map doesn't appear only borders...tell me if you need code and which! thanx

apneadiving commented 12 years ago

Hi,

The tutorial is completely outdated, simply follow instructions on github

On Jul 16, 2012, at 10:48 PM, AxelVee wrote:

Hi, I followed the tutorial in youtube, I have an app rails 3.2.6 e ruby 192p290, no error or it seems so but the map doesn't appear only borders...tell me if you need code and which! thanx


Reply to this email directly or view it on GitHub: https://github.com/apneadiving/Google-Maps-for-Rails/issues/235

AxelVee commented 12 years ago

I followed but something goes wrong can u help me if I make u see the code? what do u wanna see?

Date: Mon, 16 Jul 2012 13:51:24 -0700 From: reply@reply.github.com To: axel_vee@hotmail.it Subject: Re: [Google-Maps-for-Rails] can't display a map but only border (#235)

Hi,

The tutorial is completely outdated, simply follow instructions on github

On Jul 16, 2012, at 10:48 PM, AxelVee wrote:

Hi, I followed the tutorial in youtube, I have an app rails 3.2.6 e ruby 192p290, no error or it seems so but the map doesn't appear only borders...tell me if you need code and which! thanx


Reply to this email directly or view it on GitHub: https://github.com/apneadiving/Google-Maps-for-Rails/issues/235


Reply to this email directly or view it on GitHub: https://github.com/apneadiving/Google-Maps-for-Rails/issues/235#issuecomment-7018631

apneadiving commented 12 years ago

Best would be an online page on some staging server

aklein-dex commented 12 years ago

I just had a similar issue. The problem was that the javascript file was not loaded. Now in my javascripts/application.js : //= require_directory . //= require gmaps4rails/gmaps4rails.base.js.coffee //= require gmaps4rails/gmaps4rails.googlemaps.js.coffee

Note that I'm not using the default "//= require_tree .", so I have to add the 2 next lines to import the Gmaps4Rails javascript files.