@arcgis/map-components
Version:
ArcGIS Map Components
11 lines (10 loc) • 651 B
TypeScript
import { ArcgisDirectionalPad } from './customElement.js';
export declare const directionalPadAngles: readonly [-45, 0, 45, -90, 90, -135, 180, 135];
export declare const directionalPadCyclicalAngles: readonly [-45, 0, 45, -90, 90, -135, 180, 135, -180];
export type DirectionalPadAngle = (typeof directionalPadAngles)[number];
export declare const directionalPadArrows: Readonly<Record<DirectionalPadAngle, {
readonly label: keyof NonNullable<ArcgisDirectionalPad["messageOverrides"]>;
readonly iconName: HTMLCalciteIconElement["icon"];
readonly borderRadiusStyle?: string;
}>>;
export declare const directionalPadMoveOnceDuration = 200;