mapillary / mapillary-js

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

Emit null for image on reset #566

Closed oscarlorentzon closed 1 year ago

oscarlorentzon commented 1 year ago

When viewer is reset, no current image is set anymore so emit null for clarity.

Motivation

The selected image is disposed on reset, emit null to ensure clarity.

Contribution

Test Plan

yarn test
yarn prepare
yarn start