openlayers地图导出

openlayers动态添加了div并且在div中作了统计图,但是导出地图统计图丢失,只有底图,有什么方法解决吗?

你好,
你有设置 ‘crossOrigin:’anonymous’ 吗?