three-geo icon indicating copy to clipboard operation
three-geo copied to clipboard

how to store the terrain in js object ?

Open yashj119 opened this issue 5 years ago • 4 comments

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

yashj119 avatar Feb 03 '20 11:02 yashj119

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.

j-devel avatar Feb 14 '20 00:02 j-devel

@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 avatar Feb 17 '20 05:02 yashj119

@j-devel any updated on this

yashj119 avatar Mar 03 '20 07:03 yashj119

@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

yashj119 avatar Mar 06 '20 04:03 yashj119