Error: initialization of TextLayer({id: 'text'}): deck.gl: assertion failed. #6702
Answered
by
Pessimistress
lirosezhikang
asked this question in
Q&A
-
when I use 'renderSubLayers' to render a new TextLayer in MVTLayer,this error occurred `deck.js:107
this is my code;
|
Beta Was this translation helpful? Give feedback.
Answered by
Pessimistress
Feb 25, 2022
Replies: 1 comment 1 reply
-
You are rendering a TextLayer of |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
lirosezhikang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You are rendering a TextLayer of
id: 'text'
for each tile. Layer ids must be unique. Use something likeprops.id + '-text'
.