谷歌地图appcache但不离线 [英] Google maps appcache but NOT offline
问题描述
我正在构建移动Web应用程序(html5,javascript)
,并且我使用HTML5的应用程序缓存来提供脱机功能。
我有一个谷歌地图的问题。我缓存我需要的所有文件,
,并从应用程序缓存运行我的应用程序。但是,当我尝试使用谷歌地图
api 3一切都出错了(请记住我有互联网连接,
我不想使用谷歌地图离线)。我不知道清单文件中包含了
包含的内容,以使应用程序从
所需的文件获取所需的文件。我必须在清单文件中包含哪些内容,以便Google地图api 3的
GET请求不会失败。
谢谢大家的回复。 / p>
Alkis
您现在可以使用:
NETWORK
*
这意味着所有未缓存的资源都需要连接。
i am building a mobile web app (html5, javascript) and i use application cache of html5 for offline capabilities. I have a problem with google maps. I cache all the files i need, and i run my app from application cache. But when i try to use google maps api 3 everything goes wrong (keep in mind i have internet connection, i do not want to use google maps offline). I do not know what to include in the manifest file to make the app get the files needed from the internet. What do i have to include in the manifest file so the GET request of google maps api 3 not to fail.
Thank you all for the responses.
Alkis
You can now use:
NETWORK
*
This means all resources not cached will require a connection.
这篇关于谷歌地图appcache但不离线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!