/*---------------------------------------------------------------------------------------------
 * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
 * See LICENSE.md in the project root for license terms and full copyright notice.
 *--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
 * @module NavigationAids
 */
import * as React from "react";
import { DrawingNavigationAid } from "@itwin/imodel-components-react";
import { NavigationAidControl } from "./NavigationAidControl.js";
/** Navigation Aid that displays an interactive mini-map for Drawing views that synchronizes with the iModel Viewport.
 * @public
 * @deprecated in 4.16.0. Use {@link @itwin/imodel-components-react#DrawingNavigationAid} component instead.
 */
// eslint-disable-next-line @typescript-eslint/no-deprecated
export class DrawingNavigationAidControl extends NavigationAidControl {
    // eslint-disable-next-line @typescript-eslint/no-deprecated
    constructor(info, options) {
        // eslint-disable-next-line @typescript-eslint/no-deprecated
        super(info, options);
        this.reactNode = (React.createElement(DrawingNavigationAid, { iModelConnection: options.imodel, viewport: options.viewport }));
    }
    getSize() {
        return "96px";
    }
}
DrawingNavigationAidControl.navigationAidId = "DrawingNavigationAid";
//# sourceMappingURL=DrawingNavigationAidControl.js.map