Open WataruTsuchida opened 7 months ago
Could you provide video/code example of what you mean?
dynamically added building and model layers
@WataruTsuchida Do you mean that custom layer using Three.js is not correctly rendered, or model layer added using this approach?
If you have a custom layer and issues with orthographic camera projection, would this work around the issue?
map.setCamera({"camera-projection": "perspective"})
Appears that react-map-gl has odd behaviour with v3, setCamera({"camera-projection": "orthographc"}) before we talk about this issue.
Let me check....
In my codes, pitch 0 does not enable flat view. https://github.com/mapbox/mapbox-gl-js/assets/81536433/e2418d88-b17a-4e4f-bf14-21c08c180f2d
I want this effect. https://github.com/mapbox/mapbox-gl-js/assets/81536433/cf93c51a-60be-4275-bd15-eb2059e65a97
@WataruTsuchida did you manage to find a fix for this? I'm running in to the same issue where I'm unable to get the map to lay flat like it is in the studio editor.
When using the standard style, it works automatically by changing pitch, but it is not affecting dynamically added building and model layers.