integration with react-three-fiber
Opened this issue · 2 comments
Two questions here:
- is it possible to place reacth-three-fiber objects on top of a map using geo-location and scaling the objects so that their proportions are match the real map scaling (like meter system)
- is this library and the underlying map providers (or at least some of them) completely free to use ?
thanks for the information
Hello
The library does not provide support for react-three-fiber out of the box but should be easy to create a wrapper around it.
The map proportion by default matches the real world meter scale (careful with distortion near the poles).
The library is free to use to open and comercial projects.
thanks for the answer, i have opened up a channel on the r3f Discord, hopefully we will find out how to embed this library into r3f. Feel free of contributing there as well: https://discord.com/channels/740090768164651008/1068545302652530769
In the meantime, do you feel like using the "extends"wrapper could be enough to include the map related 3dobjects into r3f, as in here: https://medium.com/@zmommaerts/how-to-create-3d-text-in-react-three-fiber-a35376456a04 ?