-
Notifications
You must be signed in to change notification settings - Fork 634
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
1000多条弧线图,如何在没有gpu的电脑上不卡顿 #2578
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
``
加上飞线图的动效,没有GPU的电脑或者GPU很差的话就会很卡,浏览器直接卡死
` useEffect(() => {
if (!scene || !dotData.length || !line.length || !marker.length) return;
scene.removeAllLayer();
const dotPoint = new PointLayer({ zIndex: 3 })
.source(dotData, {
parser: {
type: "json",
x: "lng",
y: "lat",
},
})
.shape("circle")
.color("#ffed11")
.animate(true)
.size(15);
}, [scene, line, dotData, marker]);
`
The text was updated successfully, but these errors were encountered: