Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 752 Bytes

File metadata and controls

28 lines (19 loc) · 752 Bytes

@itwin/geo-tools-react

Copyright © Bentley Systems, Incorporated. All rights reserved.

The geo-tools-react provides various React components and iTwin.js tools to support GIS workflows.

Usage

What to add in your iTwin AppUI based application

With a few short lines, you can add the Geo Address Search tool to your app.

Call GeoTools.initialize() before making use of the providers

import { GeoTools } from "@itwin/geo-tools-react";
...
await GeoTools.initialize(IModelApp.localization);

Register Provider

import { UiItemsManager } from "@itwin/appui-abstract";
import { GeoToolsAddressSearchProvider } from "@itwin/geo-tools-react";
...
UiItemsManager.register(new GeoToolsAddressSearchProvider());