This is an example application for the optimaze-viewer
library. It loads data from the Optimaze API using the OAuth 2 authorization code flow for authenticating API requests. An Optimaze account is required in order to log in. The application is written in TypeScript and uses Webpack for bundling.
If you are interested in creating a third-party application using Optimaze floor plans, please contact support@optimaze.net.
This app is hosted at https://optimazeviewerexample.azurewebsites.net/.
- Run
yarn
to install dependencies - Run
yarn start
to start dev server
Alternatively, run yarn build
to create a production build
- If you get "not found" from the floorgraphics api call, the spacedata / floor images might be missing
- If you get "bad request" from authorization, check that your api-user (optimaze-viewer-example by defaul) has proper scope (space.read) and password auth flow enabled