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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
StreetsideJS is a JavaScript & WebGL library that renders street level imagery from Streetside.
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.
Every release is described on the GitHub Releases page.
MIT License
See CONTRIBUTING.md.
See MIGRATING.md.