Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

integration with react-three-fiber #52

Open
dberardo-com opened this issue Jan 27, 2023 · 2 comments
Open

integration with react-three-fiber #52

dberardo-com opened this issue Jan 27, 2023 · 2 comments
Labels
question Further information is requested

Comments

@dberardo-com
Copy link

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
@tentone
Copy link
Owner

tentone commented Jan 27, 2023

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.

@dberardo-com
Copy link
Author

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 ?

@tentone tentone added the question Further information is requested label Mar 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants