问题
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