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

how to store the terrain in js object ? #14

Open
yashj119 opened this issue Feb 3, 2020 · 4 comments
Open

how to store the terrain in js object ? #14

yashj119 opened this issue Feb 3, 2020 · 4 comments

Comments

@yashj119
Copy link

yashj119 commented Feb 3, 2020

Hello , i am getting the problem while storing the terrain into an object by using the toJSON on mesh it gives me error Failed to execute 'drawImage' on 'CanvasRenderingContext2D' please any way to store it in js objects so i store it in db and save the api call , @j-devel any thoughts on this

@j-devel
Copy link
Contributor

j-devel commented Feb 14, 2020

For serializing the mesh object created by three-geo, not sure about the error. Will you post a jsfiddle for reproduction?

store it in js objects so i store it in db and save the api call

That is out of scope of three-geo's functionality. But I would leave a comment: please do make sure that your app/service abides by the TOS of Mapbox's API.

@yashj119
Copy link
Author

@j-devel lets make it simple to understand on every load i dont want the terrain calculation to execute i need a pay to store it some where how is it possile please can you share a fiddle solution

@yashj119
Copy link
Author

yashj119 commented Mar 3, 2020

@j-devel any updated on this

@yashj119
Copy link
Author

yashj119 commented Mar 6, 2020

@j-devel please let me know how is it possible my query is really pending from a while i am curious to know how to store it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants