You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
Probable cause: Java Peer RasterDEMSource is not defined so I don't see a way to add DEM layer right now. If you just add normal RASTER layer (RGB terrain) it still leads to segmentation fault in:
line 97: mapbox-gl-native/src/mbgl/renderer/layers/render_hillshade_layer.cpp
assert(dynamic_cast<HillshadeBucket*>(tile.tile.getBucket(*baseImpl)));
Thank you for looking.
The text was updated successfully, but these errors were encountered:
@femski you are correct, while layers are automatically generated as part of the style spec code generation, sources as RasterDEMSource aren't and these need to be manually added. I will look into adding integration of RasterDEMSource on the Android binding.
#11031 resolves this issue by adding the RasterDEMSource integration and an example, once merged you can retest with the 6.0.0-SNAPSHOT or master branch. Thank you for reporting this @femski.
Platform:
Android
Mapbox SDK version:
Master Branch
Steps to trigger behavior
Add a new layer of type HillshadeLayer
Expected behavior
Brilliant new HillshadeLayer layer
Actual behavior
Crash
Probable cause: Java Peer RasterDEMSource is not defined so I don't see a way to add DEM layer right now. If you just add normal RASTER layer (RGB terrain) it still leads to segmentation fault in:
line 97: mapbox-gl-native/src/mbgl/renderer/layers/render_hillshade_layer.cpp
assert(dynamic_cast<HillshadeBucket*>(tile.tile.getBucket(*baseImpl)));
Thank you for looking.
The text was updated successfully, but these errors were encountered: