NovoRender
A measure API for NovoRender data models.
NPM Module
Installation
Measure API is available as an NPM package. You can install Measure Api in your project's directory with npm:
$ npm install @novorender/measure-api
For bleeding edge builds:
$ npm install @novorender/measure-api@next
The package contains pre-bundled ES6 and UMD modules and typescript definition file that you can use for both local development and include in your web deployment.
Getting started
Import the api
import * as Measure from "@novorender/measure-api";
Create api object
const api = await Measure.createMeasureAPI();
Load the scene, this is the object with measure functions related to the scene. The scene url can be loaded from @novorender/data-api
const scene = api.loadScene(NovoRender.WellKnownSceneUrls.condos);