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

Don't show maps in production #302

Closed kraudio closed 11 years ago

kraudio commented 11 years ago

I followed the standard procedure of setting gem. Under development is functioning normally, but production is not showing the map

My gemfile: http://pastebin.com/35rL6FDN

My index: <%= gmaps4rails(@json) %>

My footer: <%= yield :scripts %>

apneadiving commented 11 years ago

Any error in js console? Is css properly included?

Sent from my iPhone

On 11 déc. 2012, at 13:52, kraudio notifications@github.com wrote:

I followed the standard procedure of setting gem. Under development is functioning normally, but production is not showing the map

My gemfile: http://pastebin.com/35rL6FDN

My index: <%= gmaps4rails(@json) %>

My footer: <%= yield :scripts %>

— Reply to this email directly or view it on GitHub.

kraudio commented 11 years ago

Yes, yes

My log: http://pastebin.com/q7ghhSyw

My html: http://pastebin.com/JtsZUGGu

My print: GitHub Logo http://f.cl.ly/items/1Z0i28132L2m0L0S1P0E/sap-e.png

apneadiving commented 11 years ago

this is not ok: "lat":15 53 34 ,"lng":54 19 69

I guess your latitude and longitude weren't given by the gem.

iy should something like: "lat": 15.9, "lng": 54.32

On Dec 11, 2012, at 3:49 PM, kraudio notifications@github.com wrote:

Yes, yes

My log: http://pastebin.com/q7ghhSyw

My html: http://pastebin.com/JtsZUGGu

My print:

http://f.cl.ly/items/1Z0i28132L2m0L0S1P0E/sap-e.png

— Reply to this email directly or view it on GitHub.

kraudio commented 11 years ago

rs, the same data is incorrect, I will correct. thank you very much