A new template for development purposes has been published with simplified javascript API. Now it is even easier to get started with 3D Wayfinder and the integration of 3D maps into web applications.
We have published a special template for development purposes. It includes a 3D map with resize function, floor buttons, list of locations and groups etc. Also each part in template has a tooltip, where it is possible to see the javascript function which has been used for that specific section.
In Addition with the template we are releasing a new SimpleWayfinderApi class that extends the existing Wayfinder class. You can find the SimpleWayfinderApi documentation here. To use the SimpleWayfinderApi in Your application embed with <script src=”//static.3dwayfinder.com/projects/shared/js/simpleWayfinderApi.js”></script >
It includes basic functions for getting floor, group and location data. Functions for getting specific objects (floor, group, location) to accept the object’s ID as a selector instead of using the object itself as a parameter.
The development template is a good way to start building your web-based 3D applications.
You can use this template by getting the embedded code from the template page. The template itself can be accessed via the administration panel at admin.3dwayfinder.com when selecting the view with template “DevTemplate”.
In addition to the new development template it is possible to test the new SimpleWayfinderAPI in a sandbox at CodePen.
Both the development template and simple wayfinder API will be updated with new features and functions regularly.