IphoneIpad Google Maps Iframe Embed

IphoneIpad Google Maps Iframe Embed,第1张

概述我有一个嵌入iframe的谷歌地图.就像: <iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.de/?ie=UTF8&ll=51.151786,10.415039&amp;spn=23.5119, 我有一个嵌入iframe的谷歌地图.就像:

<iframe wIDth="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwIDth="0" src="http://maps.Google.de/?IE=UTF8&amp;ll=51.151786,10.415039&amp;spn=23.5119,51.723633&amp;t=h&amp;z=5&amp;output=embed"></iframe>

在浏览器中,这只是很好,但Iphone / Ipad尝试加载一个应用程序.这似乎只是工作正常(没有一个自己),但页面加载,用户得到一个d出消息,询问他是否要运行应用程序.有没有办法在iframe中显示地图?

解决方法 我认为最简单的方法是直接使用Google Maps API加载Google地图.

我最近遇到这个问题,我发现this tutorial中的代码非常完整和实用.

总结

以上是内存溢出为你收集整理的Iphone / Ipad Google Maps Iframe Embed全部内容,希望文章能够帮你解决Iphone / Ipad Google Maps Iframe Embed所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1083596.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-27
下一篇 2022-05-27

发表评论

登录后才能评论

评论列表(0条)

保存