Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Zoom bar disfigured in Google-Maps-for-Rails (gmaps4rails)

For some reason my zoom bar is all pixelated and I'm not sure why. Any ideas? I used the basic setup:

Controller: @json = User.all.to_gmaps4rails
View: <%= gmaps4rails(@json) %>

I'm not passing any special parameters or anything. The markers that I have on my models show up beautifully.

Zoom broken

like image 695
ryanjones Avatar asked Mar 03 '12 17:03

ryanjones


1 Answers

Add this to your css... there you will also have an issue with the terrain and overlays dropdowns...

#mapCanvas label { width: auto; display:inline; }
#mapCanvas img { max-width: none; }
like image 107
nodrog Avatar answered Sep 27 '22 20:09

nodrog