Google Maps v3 Shifting After Loading in Wordpress

前端 未结 3 423
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-07 05:40

The page loads with Google Maps and doesn\'t initially fill the container surrounding it. Half second later Google maps fills up the container.

The problem is it\'s

3条回答
  •  醉梦人生
    2020-12-07 06:19

    I have experienced this issue before a few times, not with wordpress as i steer clear from that package.. But two causes i had we...

    One would only occur each time after the map was viewed/loaded and that was due to the gmaps external script call being loaded more then once.

    The second was due to a relative/absolute position element that was affecting the maps block element... I cant recall 100% as been a few weeks since that..

    How are you handling the onload events and so forth...

提交回复
热议问题