imodeljs / frontend-sample-showcase

MIT License
17 stars 9 forks source link

Issue Markers #276

Closed tomdicarlo closed 2 years ago

tomdicarlo commented 2 years ago

Resolved a bug caused by a race condition between the initial view setup and the creation of the marker pin decorator that caused markers to not render correctly. MarkerSets would be created before the initial view was setup, which required them to be updated manually.

Resolved another bug, also caused by a race condition, that caused the markers in the issue sample to not update on the very first decoration frame after having either of the filters change. The fix is hacky, it uses a timer to make a call to invalidate decorations, but this bug seems to fall outside of the sample, since the correct markers are being supplied to the DecorateContext on the first call to decorate.