GMaps API + Fusion Tables Stopped Working

前端 未结 1 1342
遇见更好的自我
遇见更好的自我 2021-01-23 13:58

I have an application which uses the Google Maps API and fusion tables which stopped working as of today (the code and Fusion tables databases weren\'t changed and were working

相关标签:
1条回答
  • 2021-01-23 14:42

    it seems that google has updated the default.css, the prevoius version sets the height of #map_canvas and #map-canvas, the current only for #map-canvas.

    Add this style to your page:

    html, body, #map_canvas {
    height: 100%;
    margin: 0;
    padding: 0;
    

    }

    and remove the redundant

    <link type="text/css" rel="stylesheet" href="http://code.google.com/apis/maps/documentation/javascript/examples/default.css">
    
    0 讨论(0)
提交回复
热议问题