Google Maps API v3: Gray Box, no map

后端 未结 14 811
离开以前
离开以前 2020-12-06 09:20

As part of a much bigger project, we\'re trying to get a Map on a site using Google\'s Map API v3. I have followed the simplest steps that Google has laid out, I\'ve tried c

14条回答
  •  南笙
    南笙 (楼主)
    2020-12-06 09:33

    I had the same issue. i was using google maps in Jquery Accordion and when i expand the div the map only consisted a grayed area. I was able to solve this issue by triggering a click event on the specified accordion heading and setting the map container to visible.

    Script:

    
    

    ASPX File/Html Markup:

    Location Map

提交回复
热议问题