Oscar Lorentzon cf65b0b2f5 docs: update contribution guide
Simplify contribution guide and add CLA.
Remove run keyword from yarn commands.
2020-11-26 15:41:27 +01:00
2020-11-26 15:41:27 +01:00
2020-11-13 22:54:50 +01:00
2020-09-07 21:18:30 +02:00
2015-11-13 15:13:37 +01:00
2016-01-18 11:33:06 +01:00
2020-11-13 19:35:35 +01:00
2020-11-13 19:35:35 +01:00
2020-11-26 15:41:27 +01:00
2020-09-07 21:18:30 +02:00
2020-11-26 15:41:27 +01:00

yarn workflow GitHub license npm version

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 by registering an application. Then you can use MapillaryJS with a <script> tag.

<!DOCTYPE html>
<html>
<head>
    <script src='https://unpkg.com/mapillary-js@2.21.0/dist/mapillary.min.js'></script>
    <link href='https://unpkg.com/mapillary-js@2.21.0/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

Migrating

Learn how to migrate between major MapillaryJS releases.

Contribute to MapillaryJS

Learn how to contribute.

Code of Conduct

Facebook has adopted the Contributor Covenant as its Code of Conduct, and we expect project participants to adhere to it. Please read the full text so that you can understand what actions will and will not be tolerated.

License

MapillaryJS is MIT licensed.

Description
Interactive, extendable street imagery map experiences in the browser, powered by WebGL
Readme MIT 73 MiB
Languages
TypeScript 98.3%
CSS 1.5%
JavaScript 0.2%