Using google maps without API Keys?

后端 未结 6 2059
时光取名叫无心
时光取名叫无心 2020-12-11 16:01

I am developing a CMS that will use more than one domain and I have to use only one google map script in my page.

Is there a way to use google maps without API key?<

6条回答
  •  时光取名叫无心
    2020-12-11 16:43

    According to the Google Maps API FAQ page:

    The Google Maps JavaScript API v3 and the Maps Image APIs previously did not require an API console key. This is still supported for legacy applications to ensure backwards compatibility, but is no longer recommended for new applications.

    I'd also point out that their examples don't include an API key either:

    
    

    Like Chris B said in his answer, you do need to have a Google Maps API Premier key if it is for commercial use. See the FAQ on the subject.

提交回复
热议问题