UNPKG

@vertigis/viewer-spec

Version:

VertiGIS Viewer Specification

30 lines (29 loc) 873 B
import type { Command } from "../Command.js"; import { CommandRegistry } from "../CommandRegistry.js"; import type { HasMaps } from "../common.js"; /** * Arguments for the Geometry Toolbar show command. Only available in VertiGIS * Studio Mobile. */ export interface GeometryToolbarArgs extends HasMaps { /** * Whether the toolbar will allow users to toggle between area and line * drawing modes. Defaults to true. */ isAreaToggleable: boolean; } export declare class GeometryToolbarCommands extends CommandRegistry { protected readonly _prefix = "geometry-toolbar"; /** * Shows the Geometry Toolbar. Mobile only. * * @mobileOnly */ get show(): Command<GeometryToolbarArgs | void>; /** * Hides the Geometry Toolbar. Mobile only. * * @mobileOnly */ get hide(): Command<HasMaps | void>; }