gpt4 book ai didi

ios - Openlayers3 ol.control.FullScreen 在 iOS 上不起作用

转载 作者:行者123 更新时间:2023-12-01 16:24:33 24 4
gpt4 key购买 nike

iOS 上的 Safari 没有全屏 API,因此,如文档中所述,ol.control.FullScreen 不可用。

有推荐的解决方法吗?不能在 iPad 上全屏设置我的 map 我太难过了!!

谢谢,

奥利维尔

最佳答案

您可以在其他回复中找到一些其他建议:Full screen api HTML5 and Safari (iOS 6)

特别是,使用 meta tags :

<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />

scrolling the page :
$('body').scrollTop(1);

关于ios - Openlayers3 ol.control.FullScreen 在 iOS 上不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36629797/

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