XbsjEarthUI icon indicating copy to clipboard operation
XbsjEarthUI copied to clipboard

导出图片

Open vtxf opened this issue 4 years ago • 0 comments

奋斗的小鸟 @vtxf image 请问一下,我想设置这个参数,是不是没法设置啊 奋斗的小鸟 2019/11/4 18:13:29 没这个属性,导出图片没法导出

vtxf 2019/11/4 18:14:31 可以设置, 不过,earthsdk中有现成的导出图片的接口 18:15:27 奋斗的小鸟 2019/11/4 18:15:27 好的,demo中有的吗?好像没找到

vtxf 2019/11/4 18:16:48 还没有示例。。 18:17:05 vtxf 2019/11/4 18:17:05 var img; earth.capture(128, 128).then(image => img = image);

vtxf 2019/11/4 18:17:15 这样使用就好,128是宽度 奋斗的小鸟 2019/11/4 18:17:32 好的,我试试,谢谢 奋斗的小鸟 2019/11/4 18:18:57 [图片],那要是设置这个属性,怎么设置呢? 18:25:52 vtxf 2019/11/4 18:25:52 new Earth(container, { ... });

vtxf 2019/11/4 18:26:05 第二个参数,和Cesium的Viewer一样 奋斗的小鸟 2019/11/4 18:26:28 /强 18:33:59 acound 2019/11/4 18:33:59 Cesium场景截屏 https://www.jianshu.com/p/4317e3bbfb62

vtxf avatar Nov 04 '19 12:11 vtxf