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

How to disable projection / how to use identity projection? #276

Open
bantu opened this issue Jan 16, 2025 · 0 comments
Open

How to disable projection / how to use identity projection? #276

bantu opened this issue Jan 16, 2025 · 0 comments
Labels
question Further information is requested

Comments

@bantu
Copy link

bantu commented Jan 16, 2025

Hello everyone.

I am having some issues with disabling the geo projection, since my topology data does not need to be projected.

Here is what I figured out: According to https://www.sgratzl.com/chartjs-chart-geo/api/interfaces/IProjectionScaleOptions.html albersUsa is the default projection. Hence, I need to actively disable the projection. I tried specifying identity as the projection, which seems to be a projection provided by d3, but chartsjs-chart-geo seems to fallback to albersUsa anyway.

What is the correct approach of disabling the projection?

Any help is greatly appreciated.

@bantu bantu added the question Further information is requested label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant