required id of an DOM element which will be transformed into the viewer
required Mapillary API ClientID, can be obtained from http://www.mapillary.com/map/settings/integrations
optional photoId to start from, can be any Mapillary photo, if null no image is loaded
optional configuration object specifing Viewer's initial setup
Subscribe to an event by its name
Fired when the viewer is loading more data
Fired every time the viewer goes to a new node (photo)
Private ComponentController object which manages component states
Private Container object which maintains the DOM Element, renderers and relevant services
Private EventLauncher object which fires events on behalf of the viewer
Private Navigator object which controls navigation throught the vast seas of Mapillary
Activate a Component
Name of the component which will become active
Activate the Cover (deactivates all other components)
Set an OAuth 2.0 bearer token for API requests of protected resources.
OAuth 2.0 bearer token.
Deprecated
Deactivate a Component
Name of component which become inactive
Deactivate the Cover (activates all components marked as active)
Get a Component
Name of component
Move close to given latitude and longitude
Latitude
Longitude
Move in a given direction
This method has to be called through EdgeDirection enumeration as in the example.
Direction towards which to move
Navigate to a given photo key
a valid Mapillary photo key
Detect the viewer's new width and height and resize it.
Sets the viewer's render mode.
Render mode.
Generated using TypeDoc
Create a new viewer instance
Viewer