Google Maps V3 API Key Invalid - but my personal dev key works

后端 未结 11 958
梦谈多话
梦谈多话 2020-12-31 10:24

I\'ve recently been doing development upgrading our maps to v3 and during development I was using my own personal key. Everything was working fine. When it was time to go to

11条回答
  •  死守一世寂寞
    2020-12-31 10:53

    If you are testing locally, make sure to add your local ip to the server key:

    xxx.xxx.xxx.xxx
    

    if you want the maps api to be available across the whole domain add this to the browser key:

    *.mydomain.com/*
    

    Hope this helps.

提交回复
热议问题