google 地图 API 在哪里加载?

Where is the google maps API loaded?

我有一个正在加载 google 地图容器的 magento 网站。奇怪的是控制台给我一个警告说

Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys 
 maps.google.com/maps-api-v3/api/js/29/2/util.js:220

但地图仍在加载中。怎么可能?
我问是因为我想在同一网站的另一个页面上加载 google 地图,但我似乎没有这样做。它仍然给我同样的错误。

所以我想知道这个 util.js 文件在网站上的确切加载位置是什么?如果我找到它,我可以为它提供密钥,并可能将其加载到网站上。

我在 magento 中使用了 google 地图功能。

我已经使用以下 API 和我的 KEY 在 .PHTML 文件中加载了 MAP。

<script async defer
    src="https://maps.googleapis.com/maps/api/js?key=<?php echo $this->getGoogleApiKey(); ?>&libraries=places&callback=init">

API 密钥:您可以从您的 google 帐户中找到此密钥。要查找密钥,请单击下面的 link 并使用您的 Gmail 凭据登录。

供参考 请访问下面的 links 它会对您有所帮助。 - https://developers.google.com/maps/documentation/javascript/tutorial

可能以上的东西对你有帮助!