Skip to content
Branch: master
Find file History
Type Name Latest commit message Commit time
Failed to load latest commit information.
src General code hygiene General code hygiene for imodeljs-samples and es… Nov 21, 2019
package.json Update to iModel.js 1.8.0 Nov 26, 2019

Basic Viewport App

Copyright © 2019 Bentley Systems, Incorporated. All rights reserved.

An iModel.js sample application that demonstrates the minimum setup for opening an iModel and viewing its graphics in a viewport with basic viewing tools.

  • Viewport: Renders geometric data onto an HTMLCanvasElement.
  • Toolbar: Includes basic viewport tools in top-right corner of viewport (select, fit, rotate, pan, zoom).

This app serves as a guide on how you can embed one or more of these components into your own application. See for comprehensive documentation on the iModel.js API and the various constructs used in this sample.


The purpose of this application is to demonstrate the following:

Development Setup

Follow the App Development Setup section under Sample Interactive Apps to configure, install dependencies, build, and run the app.


Contributing to iModel.js

You can’t perform that action at this time.