google maps api v3 map display issue

偶尔善良 提交于 2020-01-23 10:43:46

问题


look at the map on this page: http://demo.wpconsult.net/sample/sub-page-11 if you select the location in the left pane next to the map, the infobubble pops up but it looks broken. I wonder if it's related to the Mime type warnings in google chrome inspector?


回答1:


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

Add these to your css. (another source I found recommended removing the img { max-width } if there was one.)

#map-canvas label { width: auto; display:inline; }
#map-canvas img { max-width: none; }

p.s. I think everyone gets the mime-type warnings.



来源:https://stackoverflow.com/questions/10466737/google-maps-api-v3-map-display-issue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!