Skip to content

Latest commit

 

History

History

wms

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

WMS Example Plugin

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

An iModel.js example Plugin that demonstrates adding a WMS (Web Map Service) tiled graphics provider to the graphics of a view:

This plugin serves as an example of a plugin that can be added to iModel.js host applications. See http://imodeljs.org for comprehensive documentation on the iModel.js API and the various constructs used in this sample.

Development Setup

  1. Select and prepare an iModel.js host application. You can use the Simple Viewer App, for example.

  2. The dependencies are installed as part of "rush install" in the iModel.js monorepository.

  3. Build the plugin as part of the "rush build" in the iModel.js monorepository, or separtely build using the npm build command.

npm run build
  1. Copy the output files in lib/webresource to the corresponding directories in the output directory of the host application.

  2. Start the host application - go to its directory and run:

npm run start:servers
  1. Open a web browser (e.g., Chrome or Edge), and browse to localhost:3000.

Contributing

Contributing to iModel.js