Replies: 2 comments 9 replies
-
This usually happens because deck.gl's camera is not aligned with Mapbox's camera. What deck.gl/Mapbox versions are you using?
The layer lifecycle message is for debug only, you should disregard it if you don't know what it means. |
Beta Was this translation helpful? Give feedback.
4 replies
-
I added an onHover event, to my paths, and i can see that their coordinates are actually being changed, even though the data used to create these PathLayers has stayed the same! |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So i am having dekc.gl layers rendered over Mapbox, using Mapboxoverlay with
interleaved:true
when i rotate my camera, or pitch up or down, i can see some layers are displaced, even though their data is unchanged and they should point to the exact same location on the map. why is it happening and how to prevent it ?
I guess it is some how related to how viewState is managed, but i can't understand how to examine it.
Any idea/help is greatly appreciated.
my code:
Screenshot 1: location of a pathLayer in a certain camera pitch & angle
Screenshot2: PathLayer, displaced after moving the camera around. (rotated the camera about 180degress, now the paths are standing on a different coordinate)
this behavior seems to intensify as more paths are added to the data.
I am generating layers' ids by Math.random, but when putting them in
console.log
, i see it continuously logs that the layersMatched
and it is copying state fromprevious layer
.is that a normal behavior ?
Beta Was this translation helpful? Give feedback.
All reactions