spatialdev/streetside-js

Name: streetside-js

Owner: SpatialDev

Description: WebGL & JavaScript library based on Mapillary's MapillaryJS, for displaying Microsoft Streetside imagery.

Created: 2018-03-20 13:09:51.0

Updated: 2018-03-21 17:38:56.0

Pushed: 2018-03-21 17:38:53.0

Homepage: null

Size: 433

Language: TypeScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Build Status

StreetsideJS

StreetsideJS is a JavaScript & WebGL library that renders street level imagery from Streetside.

San Francisco on Streetside.com Frigilana on Streetside.com

Using StreetsideJS

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

CTYPE html>
l>
d>
<script src='https://unpkg.com/mapillary-js@2.11.1/dist/mapillary.min.js'></script>
<link href='https://unpkg.com/mapillary-js@2.11.1/dist/mapillary.min.css' rel='stylesheet' />
ad>

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

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

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 StreetsideJS

See CONTRIBUTING.md.

Migrating from StreetsideJS 1 to 2

See MIGRATING.md.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.