Skip to content

Example application for the optimaze-viewer library. Written in TypeScript and using Webpack.

License

Notifications You must be signed in to change notification settings

rapal/optimaze-viewer-example

Repository files navigation

optimaze-viewer-example

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.

Demo

This app is hosted at https://optimazeviewerexample.azurewebsites.net/.

Usage

  1. Run yarn to install dependencies
  2. Run yarn start to start dev server

Alternatively, run yarn build to create a production build

Debugging

  1. If you get "not found" from the floorgraphics api call, the spacedata / floor images might be missing
  2. 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

About

Example application for the optimaze-viewer library. Written in TypeScript and using Webpack.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published