how to store the terrain in js object ?
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
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 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
@j-devel any updated on this
@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