Viewer throws exception when element size is zero
oscarlorentzon opened this issue · comments
Oscar Lorentzon commented
Basic information
MapillaryJS version: 2.17.0
System/Browser: All
Steps to Reproduce Behavior
- Create a viewer with element width and height of 0.
- Move to a key.
Expected behavior
The viewer is functional.
Actual behavior
The viewer throws the following exception:
Error: <path> attribute d: Expected path command, "M 0 0 NaN NaN A 1 1 0 …".