@itwin/map-layers
TypeScript icon, indicating that this package has built-in type declarations

5.4.3 • Public • Published

MapLayers Extension/Package

Copyright © Bentley Systems, Incorporated. All rights reserved. See LICENSE.md for license terms and full copyright notice.

An iTwin.js Extension that adds a widget for attaching and updating map attachments in a view:

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

This package can also be installed into an application and the method MapLayersUI.initialized() called during the host IModelApps initialize processing.

Development Setup

  1. Select and prepare an iTwin.js host application. You can use the [ui-test-app] to host the extension, for example.

  2. The dependencies are installed as part of "rush install" in the iTwin.js repository.

  3. Build the extension as part of the "rush build" in the iTwin.js repository, or separately build using the npm build command.

    npm run build
  4. Start the host application - go to its directory and run:

    npm run start:servers
  5. Open a web browser (e.g., Chrome), and browse to http://localhost:3000.

Contributing

Contributing to iTwin.js

Package Sidebar

Install

npm i @itwin/map-layers

Weekly Downloads

1,044

Version

5.4.3

License

MIT

Unpacked Size

1.5 MB

Total Files

322

Last publish

Collaborators

  • wgoehrig
  • cshafer
  • aruniverse
  • imodeljs
  • colinkerr