Google Maps JSv3 Freezes for a few seconds every 30 seconds

后端 未结 3 653
走了就别回头了
走了就别回头了 2020-12-04 03:38

As per title, does anyone know why it freezes every 30 seconds? I figured that it was some sort of timer with Google Maps but cant find any such reference.

To recr

3条回答
  •  攒了一身酷
    2020-12-04 04:20

    I think it has something to do with the security settings (for local files).

    Because I hosted the exact same file on github, and it seems to work fine. And the only difference between the two files are their storing location. If you open the local file, it would says something like internet explorer restricted this webpage from running scripts or activex controls, so I would say it is the security settings for local files.

    enter image description here

提交回复
热议问题