Google Maps API - disabled on domain

前端 未结 4 1821
没有蜡笔的小新
没有蜡笔的小新 2020-12-30 07:25

When page loads i get the message as javascript alert: Google has disabled use of the Maps API for this application. See the Terms of Service for more information: ht

4条回答
  •  清歌不尽
    2020-12-30 08:09

    Referencing the Google maps script from you local machine causes this issue.

    Just reference it back to the remote version and add the ?sensor=false to the end and you should be good to go.

提交回复
热议问题