gpt4 book ai didi

google-maps-api-3 - Google Places API 和 Windows 8 Metro Style 应用程序

转载 作者:行者123 更新时间:2023-12-01 06:41:14 25 4
gpt4 key购买 nike

我正在开发一个 Metro 风格的应用程序,需要访问 Google Places API(我有一个应用程序 key )。 Windows 8 阻止 Java 脚本注入(inject),除非包装在

 MSApp.executeLocalUnsafeFunction( function () { 
document.write('…etc');
});

正因为如此, maps.googleapis.com/maps/js无法加载。

有任何想法吗?

最佳答案

使用 asynchronous loader .它不使用 document.write .

关于google-maps-api-3 - Google Places API 和 Windows 8 Metro Style 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10151414/

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