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
比如一条轨迹,我线hover到LineLayer上的某个点上,获取到该点的信息;我想获取数据里的属性,比如经过该点的时间这个属性,现在hover提供的event只能获取到该点的经纬度,以及整条轨迹的信息,但是两者没有关联关系;希望提供一种解决方案
No response
The text was updated successfully, but these errors were encountered:
hi @zhangjuncheng1, welcome!
Sorry, something went wrong.
目前没好方案,一个方案是,自己通过空间计算,查找到点击的点。 另外一个方法将线的顶点,用PointLayer绘制一下(推荐)
非常感谢,第二种方案也考虑过,但是感觉轨迹点太多,怕绘制出现性能问题(我应该会使用这种方案);因为我想的是LineLayer也是通过坐标点绘制的,想看看antv-l7内部有没有关联映射的方案
还好,点的性能比线好多了
heiyexing
No branches or pull requests
问题描述
比如一条轨迹,我线hover到LineLayer上的某个点上,获取到该点的信息;我想获取数据里的属性,比如经过该点的时间这个属性,现在hover提供的event只能获取到该点的经纬度,以及整条轨迹的信息,但是两者没有关联关系;希望提供一种解决方案
重现链接
No response
重现步骤
No response
预期行为
No response
平台
屏幕截图或视频(可选)
No response
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: