We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
现在直接使用map.addLayer可以添加,但是交互后,所有图层会重新渲染,如下图
The text was updated successfully, but these errors were encountered:
@Muzilcy 目前旧版的没办法支持哈,因为旧版的风场实现是在 mapbox 的地图上盖了一个 canvas,具体的实现在这里 https://github.com/sakitam-fdd/wind-layer/blob/v1.1.1-alpha.2/packages/mapbox-gl/src/Overlay.ts
这个自定义的 CanvasOverlay实现了 mapbox 的 CustomInterface ,但是 mapbox 自定义图层的 render 调用是很频繁的,所以不能使用 addLayer 来添加。
2.0 之后有了新的实现,感兴趣的话可以看下 https://blog.sakitam.com/wind-layer/guide/data.html
https://blog.sakitam.com/wind-layer/playgrounds/mapbox-gl/colorize.html
Sorry, something went wrong.
@sakitam-fdd 你好,请问mapbox-wind.js支持哪些坐标系?
No branches or pull requests
现在直接使用map.addLayer可以添加,但是交互后,所有图层会重新渲染,如下图
The text was updated successfully, but these errors were encountered: