Get default configuration.
Default configuration for component.
Get double click zoom.
The double click zoom handler.
Get drag pan.
The drag pan handler.
Get name.
Get scroll zoom.
The scroll zoom handler.
Get touch zoom.
The touch zoom handler.
Unsubscribe from an event by its name.
The name of the event to subscribe to.
The handler to remove.
Subscribe to an event by its name.
The name of the event to subscribe to.
The handler called when the event occurs.
Generated using TypeDoc
MouseComponent
Component handling mouse and touch events for camera movement.
To retrive and use the mouse component
var viewer = new Mapillary.Viewer( "<element-id>", "<client-id>", "<my key>"); var mouseComponent = viewer.getComponent("mouse");