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

Make rendering optional #197

Merged
merged 1 commit into from
Jun 25, 2024
Merged

Make rendering optional #197

merged 1 commit into from
Jun 25, 2024

Conversation

this-josh
Copy link
Contributor

Permits caching of the rendering which for scenarios where the same maps are shown can increase performance

closes #194

Permits caching of the rendering
@randyzwitch
Copy link
Owner

Seems pretty straightforward 😂

Is there a way we can add a test for this?

@this-josh
Copy link
Contributor Author

I had a think about that, it's a bit weird as the current change would affect coverage?

If you don't call render then when you go to show your map the shapes/lines you've shown don't get drawn. I'm not sure if we could test based on that?

@randyzwitch randyzwitch merged commit 3abdca0 into randyzwitch:master Jun 25, 2024
5 checks passed
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.

Option to pre-render
3 participants