Sign in


Embedding 3D Wayfinder into HTML documents

Copy these lines into the head of the HTML document:

3D Map

2D Map

Add a canvas element

Add a canvas element into the body of the html document:

Node that the canvas has to have a width and a height parameter. If You change these after the map has started then You also have to call:

Launching the Map

When the document is loaded call these methods:

3rd Party Libraries

3D Wayfinder has included the following 3rd party libraries:

Full source code

Issues with local file:// paths

If You open the above source locally and not using a local or remote web server You will have issues where it tries to pull the source from file:// or something similar.
There are couple of things that You can do against this problem.