谷歌地图输出的wkhtmltopdf javascript延迟 [英] wkhtmltopdf javascript delay for output of google maps
问题描述
我正在使用 WKTHMTOPDF 并且非常享受它.但是,正在转换的页面有谷歌地图,生成的 PDF 会在地图加载一半的情况下出现.我知道在以前的版本中有一个添加 --javascript--delay
的选项,但它似乎已被弃用.我使用的是 0.99 版.有其他选择吗?
I am working with WKTHMTOPDF and really enjoying it. However, the page that is being converted has google maps and the resulting PDF comes out with the map half loaded. I know there was an option to add --javascript--delay
in previous versions, but it would appear it is deprecated. I am using version 0.99. Is there a different option?
推荐答案
--javascript-delay
选项根本没有被弃用.另外,建议升级到最新版本 - 0.9.9 是一个非常旧的版本.
The --javascript-delay
option is not deprecated at all. Also, it would be advisable to upgrade to the latest version -- 0.9.9 is a very old version.
这篇关于谷歌地图输出的wkhtmltopdf javascript延迟的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!