Replies: 1 comment
-
Can you provide a code sandbox? Just by looking at it:
|
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
-
I am experimenting with
react-three-map
and find the functionality very useful. My goal is to create a stack of two separate, flat interactive maps in 3D space with some arbitrary height h between them (along the z-dimension). Something like either of the two images below.I've managed to stack two maps (see code) directly on top of each other and tie their interactivity together using an example from react-map-gl docs (note how you can see through the transparent layers of the top map to the bottom map), but I am unable to define or create space in between them. It is not straightforward as
Map
components are not textures; I also was not able to stack canvases. Would I need to use multiple scenes? I would be grateful for any advice or strategy on how to achieve this effect withreact-three-map.
, ideally where some height h could be used to determine the space in between.Beta Was this translation helpful? Give feedback.
All reactions