uniapp webview 加载天地图html 显示很模糊
同样webview加载百度地图html 显示没问题
chrome直接打开天地图html 显示也没问题

5***@qq.com
- 发布:2022-10-05 16:34
- 更新:2024-08-17 23:34
- 阅读:1359

FullStack - 【插件开发】【专治疑难杂症】【ios上架、马甲包、白包、过审、已成功上架过几百个】【多款插件已上架:https://ext.dcloud.net.cn/publisher?id=22130】【非诚勿扰】QQ:543610866
h5 webview 就是 iframe

准确的说,不是模糊,而是地图上文字字体太小了。
在html文件中加一句:
<meta name="viewport" content="width=device-width,initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
亲测有效。
方法参考来源
5***@qq.com (作者)
有什么解决方法吗?
2022-10-07 13:57