UNPKG

mapillary-js

Version:

WebGL JavaScript library for displaying street level imagery from mapillary.com

36 lines (32 loc) 735 B
import {IComponentConfiguration} from "../../Component"; /** * Interface for configuration of navigation component. * * @interface * @example * ``` * var viewer = new Mapillary.Viewer('<element-id>', '<client-id>', '<image-key>', * { * component: { * navigation: { * spatial: false, * }, * }, * }) * ``` */ export interface INavigationConfiguration extends IComponentConfiguration { /** * Enable or disable the sequence arrows. * * @default true */ sequence?: boolean; /** * Enable or disable the spatial arrows. * * @default true */ spatial?: boolean; } export default INavigationConfiguration;