Skip to content

Loading a globe as an object in existing code #1851

Answered by gchoqueux
jrjdavidson asked this question in Q&A
Discussion options

You must be logged in to vote

I was also getting errors such as 'threejs loading twice'.

three is exported in itowns.js bundle. May be you add the three.js bundle?

Is there a simple way to create and add a globe mesh with associated imagery ( e.g. WMTS ortho imagery) as an object into an existing project

it's not possible for the moment (see #1829)
but it's possible to add you three.js project to Viewer.scene and instance and customize your renderer.
there are frame requester to add your process in itowns main loop

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jrjdavidson
Comment options

Answer selected by jrjdavidson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1850 on April 22, 2022 08:14.