gpt4 book ai didi

在本地机器上包含 jsapi google,而不是来自 google.com

转载 作者:行者123 更新时间:2023-12-03 10:38:27 26 4
gpt4 key购买 nike

我想知道是否可以下载并包含 jsapi 库,但不是由 google.com 托管,托管在我的本地机器上。因为我的项目可能无法访问 Web。

最佳答案

你不能。

您可以下载jsapi.js并将其保存在您的本地计算机中,但它仍然会引用 google.com 上的在线版本。打开jsapi.js代码就可以看到了。

this Google developers article更多。

Can I use charts offline?

No; your computer must have live access to http://www.google.com/jsapi in order to use charts. This is because the visualization libraries that your page requires are loaded dynamically before you use them. The code for loading the appropriate library is part of the included jsapi script, and is called when you invoke the google.load() method. Our terms of service do not allow you to download the google.load or google.visualization code to use offline.

Can I download and host the chart code locally, or on an intranet?

Sorry; our terms of service do not allow you to download and save or host the google.load or google.visualization code.

关于在本地机器上包含 jsapi google,而不是来自 google.com,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9318620/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com