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

Can't load custom geojson into map #3144

Closed
afvca opened this issue Dec 3, 2020 · 2 comments
Closed

Can't load custom geojson into map #3144

afvca opened this issue Dec 3, 2020 · 2 comments
Labels

Comments

@afvca
Copy link

afvca commented Dec 3, 2020

Hello,

I am trying to render a custom geojson into a map without success.

Data loads correctly in geojson.io, and I made sure that I had a unique value for the id property inside each feature.

However, when loading the data to the chart it just shows a rectangle. No console errors.

Data can be found -> here

What may be causing this issue?

@martynasma
Copy link
Collaborator

This should do the trick:

chart.reverseGeodata = true;

@afvca
Copy link
Author

afvca commented Dec 4, 2020

Thank you, it does. I think I tried that, but most certainly it was before adding the unique id property.

@afvca afvca closed this as completed Dec 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants