Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IDirectionConfiguration

Interface for configuration of direction component.

interface
example
var viewer = new Mapillary.Viewer('<element-id>', '<client-id>', '<image-key>',
    {
        component: {
            direction: {
                minWidth: 140,
                maxWidth: 340,
            },
        },
    })

Hierarchy

  • IComponentConfiguration
    • IDirectionConfiguration

Indexable

[index: string]: any

Interface for configuration of direction component.

Index

Properties

Optional distinguishSequence

distinguishSequence: boolean

Determines if the sequence arrow appearance should be different from the non sequence arrows.

description

Needs to be set to true for the sequence suffixed classes to be applied to the navigation elements. Additional calculations will be performed resulting in a performance cost.

default

false

Optional highlightKey

highlightKey: string

The node key representing the direction arrow to be highlighted.

default

undefined

Optional maxWidth

maxWidth: number

The max width of the non transformed container element holding the navigation arrows.

description

If the min width is larger than the max width the min width value will be used.

default

460

Optional minWidth

minWidth: number

The min width of the non transformed container element holding the navigation arrows.

description

If the min width is larger than the max width the min width value will be used.

default

260

Generated using TypeDoc