mapillary / mapillary-js

Interactive, extendable street imagery map experiences in the browser, powered by WebGL
https://mapillary.github.io/mapillary-js
MIT License
437 stars 83 forks source link

Viewer reset method #535

Closed oscarlorentzon closed 2 years ago

oscarlorentzon commented 2 years ago

Motivation

Make it possible to reset the viewer completely.

Contribution

Viewer method to reset the internal state, rendering, and cache.

Test Plan

yarn build
yarn test