Hiding Mapbox Map #154
Closed
wconrad265
started this conversation in
General
Replies: 1 comment
-
I'm afraid all of those are features that we don't support and/or are outside the scope of this library.
All of the above also applies for Only case that could be doable would be remove map provider bindings in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I’m building an app where users can view a scene in both 3D (via Three.js / React Three Fiber) and on a 2D map (via Mapbox GL). I’m using the react-three-map package to combine the two views.
Current Setup
As you can see, the 3D scene is rendered twice — once in the root
<Canvas>
, and again in the overlay. I'd like to avoid this redundancy and simplify the architecture.Problems
<Canvas>
and just rely on Mapbox + overlay.Desired Setup
OverlayCanvas
.I've gotten parts of this working, but would really appreciate any guidance if you are able to— especially when it comes to:
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions