Skip to content
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

Merged
merged 16 commits into from
Jul 1, 2024
Merged

Heatmap layer #24

merged 16 commits into from
Jul 1, 2024

Conversation

Nour-Cheour10
Copy link
Contributor

No description provided.

@Nour-Cheour10
Copy link
Contributor Author

update galata references

@Nour-Cheour10
Copy link
Contributor Author

update galata references

package.json Outdated Show resolved Hide resolved

this.map_container = document.createElement('div');
this.map_container.classList.add('ol-container');
requestAnimationFrame(() => {
Copy link
Member

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?

Copy link
Contributor Author

@Nour-Cheour10 Nour-Cheour10 Jun 27, 2024

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.

Copy link
Member

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

Copy link
Contributor Author

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

@Nour-Cheour10
Copy link
Contributor Author

update galata references

ipyopenlayers/Map.py Outdated Show resolved Hide resolved
ipyopenlayers/Map.py Outdated Show resolved Hide resolved
Nour-Cheour10 and others added 2 commits July 1, 2024 14:56
Co-authored-by: martinRenou <martin.renou@gmail.com>
Co-authored-by: martinRenou <martin.renou@gmail.com>
@martinRenou martinRenou merged commit f7f6a7e into QuantStack:main Jul 1, 2024
3 checks passed
@martinRenou
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants