Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IMouseConfiguration

Interface for configuration of mouse component.

interface
example
var viewer = new Mapillary.Viewer('<element-id>', '<client-id>', '<image-key>',
    {
        component: {
            mouse: {
                doubleClickZoom: false,
                dragPan: false,
                scrollZoom: false,
                touchZoom: false,
            },
        },
    })

Hierarchy

  • IComponentConfiguration
    • IMouseConfiguration

Indexable

[index: string]: any

Interface for configuration of mouse component.

Index

Properties

Optional doubleClickZoom

doubleClickZoom: boolean

Enable or disable the DoubleClickZoomHandler.

default

false

Optional dragPan

dragPan: boolean

Enable or disable the DragPanHandler.

default

true

Optional scrollZoom

scrollZoom: boolean

Enable or disable the ScrollZoomHandler.

default

true

Optional touchZoom

touchZoom: boolean

Enable or disable the TouchZoomHandler.

default

true

Generated using TypeDoc