mapillary / mapillary-js

Interactive, extendable street imagery map experiences in the browser, powered by WebGL

Home Page:https://mapillary.github.io/mapillary-js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Library crashes for images that have not yet been SfM merged

oscarlorentzon opened this issue · comments

Basic information

MapillaryJS version: 2.17.0
System/Browser: All

Steps to Reproduce Behavior

  1. Navigate to an image that has not been SfM merged (recently uploaded)

Expected behavior

Library does not throw exceptions

Actual behavior

Library throws exception that is not handled internally, leading to crashes and black screens.

Additional information

Introduced in 91f03cc#diff-4024083bb9eb05981875d864aa3f6975R57 because of the call to Node.computedLatLon which is undefined for non merged nodes.