由于Bing地图导致多个页面出现奇怪的行为
Strange Behavior in multiple page because of Bing Maps
我有一个小问题在pdf生成…当我在wkhtmltopdf中执行带有必应地图的Html页面时,该PDF占用了超过1页,第二和第三页出现了一个奇怪的图像…
让我展示一些例子:
-
与Bing地图(和问题…):http://pdfcast.org/download/html-with-bing-maps.pdf
-
Without the Bing Maps: http://pdfcast.org/download/html-without-bing-maps.pdf
var defaultOptions = {
credentials: "myCredential",
enableClickableLogo: false,
enableSearchLogo: false,
showDashboard: false,
showCopyright: false,
tileBuffer: 0
};
var mapOptions = {
center: { latitude: latitude, longitude: longitude },
zoom: 14,
move: function(address) {...},
beforeMove: function() {...}
};
var map = new Microsoft.Maps.Map(document.getElementById(divId), $.extend({}, this.defaultOptions, options))
以前有人遇到过这个问题吗?有人知道这个的可能解吗?
谢谢
您试过--disable-smart-shrinking
开关吗?查看http://madalgo.au.dk/~jakobt/wkhtmltoxdoc/wkhtmltopdf_0.10.0_rc2-doc.html
相关文章:
- Bing语音和Bing地图在Windows 8应用商店应用程序中冲突
- Bing地图图钉宽度设置会将图钉从地图位置移开
- 更改Bing地图元素中的CSS
- Bing地图v7模块未加载
- Bing地图图钉未显示在Office365 SharePoint页面上
- 区分程序化Bing AJAX地图导航与用户平移/缩放和窗口大小
- 如何刷新Bing地图AJAX
- 使用复选框有条件地更新 Bing 地图上的标记
- 将鼠标单击和鼠标悬停事件附加到 Bing 地图图钉不起作用
- 如何将数据从 sql 服务器加载到 Bing Ajax 地图控件
- 如何将多个 latlon 值从数组传递到 bing 地图
- 为使用“我的位置”作为起点的Bing地图方向构建查询字符串
- Bing地图未加载
- 刷新Bing地图API内容
- 如何嵌入Bing地图
- Bing地图信息框setHtmlContent没有'不起作用
- Samrtphone上使用Bing地图的实时跟踪器
- 在leafletjs地图中使用Bing Quadkey贴图代替x/y/z贴图
- 嵌入Bing地图旋转编程
- 以编程方式向Bing地图添加折线