Skip to content

Interactive, extendable street imagery map experiences in the browser, powered by WebGL

License

Notifications You must be signed in to change notification settings

mapillary/mapillary-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

468609d · Dec 8, 2017
Sep 24, 2017
Jul 27, 2016
Dec 8, 2017
Dec 8, 2017
Dec 4, 2017
Jun 20, 2017
Nov 13, 2015
Jan 10, 2017
Jan 18, 2016
Jan 13, 2016
Aug 4, 2017
Jun 16, 2016
Jan 13, 2016
Dec 5, 2017
Dec 8, 2017
Jul 4, 2017
Dec 29, 2016
Dec 8, 2017
Dec 8, 2017
Jun 29, 2017
Dec 5, 2017
May 29, 2017
Nov 14, 2017
Jun 20, 2017

Repository files navigation

Build Status

MapillaryJS

MapillaryJS is a JavaScript & WebGL library that renders street level imagery from Mapillary.

San Francisco on Mapillary.com Frigilana on Mapillary.com

Using MapillaryJS

To use MapillaryJS you must create an account and obtain a Client ID. Then you can use MapillaryJS with a <script> tag.

<!DOCTYPE html>
<html>
<head>
    <script src='https://unpkg.com/mapillary-js@2.10.1/dist/mapillary.min.js'></script>
    <link href='https://unpkg.com/mapillary-js@2.10.1/dist/mapillary.min.css' rel='stylesheet' />
</head>

<body>
    <div id='mly' style='width: 640px; height: 480px;'></div>

    <script>
        var mly = new Mapillary.Viewer(
            'mly',
            '<your client id>',
            '<your image key for initializing the viewer>'
        );
    </script>
</body>
</html>

Alternatively, you can npm install mapillary-js to use it with a module loader or bundler of your choice.

Refer to the Examples and Documentation sections below for more information.

Examples

Support

Viewer

Viewer and map

Components

Marker

Mouse

Keyboard

Popup

Route

Slider

Tag

Documentation

Changelog

Every release is described on the GitHub Releases page.

License

MIT License

Contributing to MapillaryJS

See CONTRIBUTING.md.

Migrating from MapillaryJS 1 to 2

See MIGRATING.md.