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

Svelte 5: Geo projection transform timing on initial page load #261

Open
techniq opened this issue Oct 20, 2024 · 1 comment
Open

Svelte 5: Geo projection transform timing on initial page load #261

techniq opened this issue Oct 20, 2024 · 1 comment

Comments

@techniq
Copy link
Owner

techniq commented Oct 20, 2024

If the page is the initially rendered route, there appears to be an odd timing issue where the fitGeojson is calculated too early. Clicking "reset" will fix the scale/transform, or if you came to the page on a subsequent route.

Note: SSR is currently disabled on the docs, so this is only client side routing.

A video better demonstrates what is happening:

CleanShot.2024-10-19.at.23.40.40.2.mp4
@techniq
Copy link
Owner Author

techniq commented Oct 20, 2024

This might only be present locally, as I haven't been able to produced on the fleshly deployed site

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

No branches or pull requests

1 participant