Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node环境渲染地图后使用导出图片方法报错 #2250

Closed
aliothor opened this issue Mar 26, 2024 · 1 comment
Closed

Node环境渲染地图后使用导出图片方法报错 #2250

aliothor opened this issue Mar 26, 2024 · 1 comment

Comments

@aliothor
Copy link
Contributor

maptalks's version and what browser you use?

"maptalks": "1.0.0-rc.33"

Issue description

Node环境渲染地图后使用导出图片方法报错,解决无法访问window对象问题后,导出的图片为null

Please provide a reproduction URL (on any jsfiddle like site)

问题复现仓库

@deyihu
Copy link
Collaborator

deyihu commented May 25, 2024

maptalks专注于web端,在node里渲可能会有遇到一些问题:

  • canvas适配问题(不是所有的node canvas库都mock了所有的canvas api)
  • webgl环境
  • dom支持问题

这方面不是我们的核心重点,如果你有这方面的需求,欢迎你给提pr来做适配

@deyihu deyihu closed this as completed May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants