Google Maps API error: DeletedApiProjectMapError

后端 未结 6 1362
被撕碎了的回忆
被撕碎了的回忆 2021-01-01 09:10

I have to use google map. I use below google API script



        
相关标签:
6条回答
  • 2021-01-01 09:42

    I activate/enable more API Google Maps on https://console.developers.google.com and disappear this error.

    0 讨论(0)
  • 2021-01-01 09:42

    You have deleted the project in google cloud platform of which you created an API.Regenrate Api by creating a new Project in google cloud platform.

    0 讨论(0)
  • 2021-01-01 09:48

    You need to enable Maps JavaScript API for your website.

    API link: https://console.developers.google.com/apis/library/maps-backend.googleapis.com?q=map

    0 讨论(0)
  • 2021-01-01 10:01

    Yo should go to https://console.developers.google.com and after create your API KEY, go to "Google Maps JavaScript API" and just ENABLE (by default is DISABLE)

    0 讨论(0)
  • 2021-01-01 10:03

    Based from this documentation, the DeletedApiProjectMapError means that your API project may have been deleted from the Google API Console. Please check the project for which you generated the API key that's included in JavaScript API loader.

    Since you have already created a new API project and get a new key on the Google API Console, one workaround I found on this forum is to try deactivating all plugins to see if one of them is causing a conflict.

    Check this related link. It states that:

    I created new API keys in the first project for those maps again and deleted second project. The maps work partially now - without markers. It looks a little like manual blocking by someone on the Google maps side. Maybe someone is blocking access to Marker Manager .js file somewhere between my computer and a server where it is stored to ban my website.

    Hope this helps!

    0 讨论(0)
  • 2021-01-01 10:03

    There some answers saying the JavaScript API needs to be enabled as it is disabled by default. That seems to have changed. It was enabled by default in my account. It did not work anyway. I had to disable and reenable the API, then it worked.

    Also it is to be noted that Google says it may take a couple of minutes upon creation until the API key works, that may also have been the thing.

    0 讨论(0)
提交回复
热议问题