Terrain layer error #5734
-
|
I am trying to implement a simple terrain layer with the following code snippet The url I passed into the elevationData is this image served by my local expressjs server However, I was getting this error: I don't quite understand, because according to the docs, the url I passed to the elevationData prop should generate a simpleMeshLayer and shouldn't be getting this error? Please help, thank you |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
The So with the current implementation this behavior is expected. It would be possible to switch the loaders.gl lib from Martini to Delatin, which doesn't have that error, but it's significantly slower. |
Beta Was this translation helpful? Give feedback.
-
|
@laijackylai Feel free to open an issue on loaders.gl. Can't promise we will get to it in the near future, but it could be interesting to offer an option to select which tesselator to use, and if so we could also automatically fall back if non-power-of-two. |
Beta Was this translation helpful? Give feedback.


@laijackylai Feel free to open an issue on loaders.gl. Can't promise we will get to it in the near future, but it could be interesting to offer an option to select which tesselator to use, and if so we could also automatically fall back if non-power-of-two.
@igorDykhta