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

Handle empty trajectory in set filter #585

Closed oscarlorentzon closed 1 year ago

oscarlorentzon commented 1 year ago

Contribution

Do not throw when set filter is called if trajectory is empty.

Test Plan

yarn prepare
yarn test
yarn start