-
Notifications
You must be signed in to change notification settings - Fork 3
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
Heatmap layer #24
Heatmap layer #24
Conversation
8901e3e
to
cd8f952
Compare
01538d1
to
e745023
Compare
update galata references |
update galata references |
|
||
this.map_container = document.createElement('div'); | ||
this.map_container.classList.add('ol-container'); | ||
requestAnimationFrame(() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's unclear to me why we need a requestAnimationFrame
here, what was the reason for adding it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was trying to get the parentelement with this : this.el.parentElement but it was returning null at first, So I added requestAnimationFrame to give it more time to get executed and to get the right answer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is odd, the zoom control shows up but not the tile layer. I wonder if we should not sleep a tiny bit of time before doing the screenshot
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay I'll add it
Co-authored-by: martinRenou <[email protected]>
336925e
to
ac5a0ab
Compare
update galata references |
Co-authored-by: martinRenou <[email protected]>
Co-authored-by: martinRenou <[email protected]>
Thanks! |
No description provided.