1

这一切都在标题中,我想导出一张地图,地图的比例在导出的 png 图像上可见。

这是我在屏幕上看到的:http: //image.noelshack.com/fichiers/2014/39/1411732313-default.jpg

这是我导出的 png:http: //image.noelshack.com/fichiers/2014/39/1411731619-img12180dxn777.png

我想要 png 图像,地图的比例是可见的,就像我在 OpenLayer 屏幕上的图片一样。

任何人都知道该怎么做,或者OpenLayer还不可能吗?

这是我用来在地图上添加比例的基本代码:openlayers.org/ol3-workshop/controls/scaleline.html

这是我用来导出地图的代码:openlayers.org/en/v3.0.0/examples/export-map.js

预先感谢您的回复

4

0 回答 0