question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Realtime Update for PathLayer

See original GitHub issue

How should a path on the PathLayer data attribute be updated and force the layer to update?

Any help would be really appreciated!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
jonenstcommented, Dec 5, 2019

@ibgreen

deck.gl currently doesn’t have support for only updating a single element in a data array.

Is this still the case (Dec 2019) ? That is, if you have 1 million elements in a PathLayer, is there a way to have ultrafast performance when changing the position of a single element ? Thanks in advance. ps: if not, I guess you have to get the element out of the global Pathlayer into it’s own PathLayer and update it there ?

0reactions
freddie-aicommented, Oct 10, 2017

I see, thanks for explaining.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Realtime Update for PathLayer #974 - visgl/deck.gl - GitHub
I've been using dataComparator where I pass in a function that tells the layer to update if the path data length has changed....
Read more >
PathLayer - deck.gl
The PathLayer renders lists of coordinate points as extruded polylines with mitering. ... Disabling normalization improves performance during data update, ...
Read more >
Update a feature in realtime | Mapbox GL JS
This example shows how to change an existing feature on a map by updating its data. It shows the progression of a path...
Read more >
draft-trammell-plus-statefulness-04 - IETF Datatracker
Transport-Independent Path Layer State Management (Internet-Draft, 2018) ... Last updated, 2018-05-17 (Latest revision 2017-11-13). RFC stream, (None).
Read more >
deck.gl - Yarn
All notable changes to deck.gl will be documented in this file. For a human readable version, visit https://deck.gl/#/documentation/overview/upgrade-guide ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found