应用程序无法在本地上下文中加载远程Web内容

cordova工作[Windows 8.1的应用程序]地图API没有加载错误
[错误]应用程序无法在本地上下文中加载远程Web内容。
问题的原因:
1)谷歌地图加载asynchronous
2) Windows应用程序不允许dynamic脚本插入
3)赢得应用程序运行在本地上下文,不允许加载任何东西从networking(远程上下文)看到这个评论[ http://msopentech.com/blog/2014/09/25/apache-cordova-gains-windows- 8-1-windows-phone-8-1-support-2-2 /#comment-12911 ]
4) 即使在iframe中也有同样的错误。

define('gmaps',['async!http://maps.google.com/maps/api/js?v=3.17&sensor=false&libraries=geometry'], function(){ // return the gmaps namespace for brevity return window.google.maps; }); 

进度解决:
2) https://github.com/msopentech/winstore-jscompat
4)能够加载谷歌地图在我的框架。 现在我怎样才能将谷歌对象传递给父窗口?

更新:
没有find任何解决这个问题
我们切换到本机应用程序。

当你调用谷歌地图异步api你需要把一个回调在url的结尾,检查这个小例子:

https://developers.google.com/maps/documentation/javascript/examples/map-simple-async?hl=es

现在,您可以使用谷歌地图API调用异步调用之前定义的回调技巧:

 window["mycallback"] = function(){ return "hello I'm called when all API is loaded :D" } 

然后用这个URL调用

http://maps.google.com/maps/api/js?v=3.17&sensor=false&libraries=geometry&callback=mycallback

试试这个,我希望能帮上忙