-
-
Notifications
You must be signed in to change notification settings - Fork 790
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: [issue-2868] after enabling terrain, the _update marker method was not called #2996
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #2996 +/- ##
=======================================
Coverage 75.03% 75.03%
=======================================
Files 240 240
Lines 19127 19131 +4
Branches 4316 4318 +2
=======================================
+ Hits 14351 14355 +4
Misses 4776 4776
☔ View full report in Codecov by Sentry. |
8456d57
to
f5e8c9f
Compare
f5e8c9f
to
bdf2042
Compare
I tested this, works fine on the turning terrain on and off but doesn't work on the first render of the map. Screencast.from.20-08-23.09.22.32.AM.IST.webm |
Thanks @jashanbhullar good catch. I'll try to fix the first render. |
1d24746
to
601df9b
Compare
First sorry for delaying it, I had little spare time. |
Great!! Can you add some tests to it? Maybe a browser integration test, or at least a unit test? |
c91e184
to
a7c28c2
Compare
a7c28c2
to
1c6b7b5
Compare
Hi @HarelM, please let me know if this fix and its test code are good enough or how it can be improved. |
The code looks good, please add a change log entry, and a unit test if possible would be great so that the code in this class continues to be fully covered. |
b0c1089
to
41afbbb
Compare
1b85af8
to
b85f674
Compare
@HarelM please take a look at it. |
I did, the location of the changelog entry is still incorrect and should be placed above the 3.3.1 heading. |
b85f674
to
8938837
Compare
I'm so dumb 🤦 |
Not sure why we keep this test, but there's a need to fix it. i.e. change the expected build size... |
Head branch was pushed to by a user without write access
Head branch was pushed to by a user without write access
2a7233b
to
a6c549c
Compare
Fixes #2868.
We need to update the marker position after the terrain is loaded; when the map is fully loaded an idle event is fired.
So the approach was that after the terrain event is detected by the marker wait till an idle event is reached.
issue-2868.mp4
Launch Checklist
CHANGELOG.md
under the## main
section.