How to use the mapillary-js.Viewer function in mapillary-js

To help you get started, we’ve selected a few mapillary-js examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github osmlab / maproulette3 / src / components / MapillaryViewer / MapillaryViewer.js View on Github external
componentDidMount() {
    this.viewer = new Mapillary.Viewer(
      'mapillary-viewer',
      getClientId(),
      this.props.initialImageKey, {
        component: {
          cover: false,
        }
      }
    )
  }

mapillary-js

A WebGL interactive street imagery library

MIT
Latest version published 7 months ago

Package Health Score

74 / 100
Full package analysis

Popular mapillary-js functions