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

前端 未结 3 990
北海茫月
北海茫月 2020-12-30 03:50

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: <         


        
3条回答
  •  既然无缘
    2020-12-30 04:14

    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; }
    

提交回复
热议问题