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
Component above should pan to the Matterhorn, and show extruded 3D terrain. If I switch to using mapbox v10, it works. In v11, the 3D terrain is not shown. No errors or traces, neither from react / expo nor from native code in Xcode.
Things I tried:
Using 'import Mapbox' instead of 'import MapboxGL'
Using direct component imports
Explicitly setting the source id for the terrain
Adding and removing sky layers according to the example (the sky layer works, but doesn't affect terrain)
I have not verified this on Android.
Expected behavior
The maps pans to a beautiful 3D view on the iconic Matterhorn.
Or in boring terms: terrain is shown in 3D, not flat.
Notes / preliminary analysis
I wish I had, but since there's no error emitted I'm at a loss. Of course, I genuinely hope I just made a typo somewhere and this is easy to fix 😄
Mapbox Implementation
Mapbox
Mapbox Version
11.4.0
React Native Version
0.74.5
Platform
iOS
@rnmapbox/maps
version10.1.29
Standalone component to reproduce
Observed behavior and steps to reproduce
Component above should pan to the Matterhorn, and show extruded 3D terrain. If I switch to using mapbox v10, it works. In v11, the 3D terrain is not shown. No errors or traces, neither from react / expo nor from native code in Xcode.
Things I tried:
I have not verified this on Android.
Expected behavior
The maps pans to a beautiful 3D view on the iconic Matterhorn.
Or in boring terms: terrain is shown in 3D, not flat.
Notes / preliminary analysis
I wish I had, but since there's no error emitted I'm at a loss. Of course, I genuinely hope I just made a typo somewhere and this is easy to fix 😄
Additional links and references
Example can be found here:
https://github.com/GBPeters/TerrainMWE
I included download and public tokens, I will invalidate these once the issue is closed.
The text was updated successfully, but these errors were encountered: