@vertigis/viewer-spec
Version:
VertiGIS Viewer Specification
23 lines (22 loc) • 663 B
TypeScript
import type { ScalebarModelProperties as CommonScalebarModelProperties } from "../common/ScalebarModelProperties.js";
import type { ComponentModelProperties } from "./ComponentModelProperties.js";
/**
* The visual style to set for the scalebar.
*/
export declare enum ScalebarStyle {
RULER = "ruler",
LINE = "line"
}
/**
* @inheritdoc
*/
export interface ScalebarModelProperties extends CommonScalebarModelProperties, ComponentModelProperties {
/**
* The visual style for the scalebar.
*/
style?: ScalebarStyle;
/**
* Whether or not to show both metric and US customary units at once.
*/
showDualUnits?: boolean;
}