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

Alternative Keywords for Polygen in MapPointSeries #1842

Open
ArunPragadeeswar007 opened this issue Feb 6, 2025 · 1 comment
Open

Alternative Keywords for Polygen in MapPointSeries #1842

ArunPragadeeswar007 opened this issue Feb 6, 2025 · 1 comment
Labels

Comments

@ArunPragadeeswar007
Copy link

Question:

I am using amCharts 5 GeoMap Point series to visualize data where the dataset includes country names and corresponding values. For most cases, I am able to map the country names to their respective country IDs using amCharts GeoData, and it works fine. However, I have encountered an issue when trying to map "Russian Federation," as the data supports only "Russia."

Expected Behavior:

It would be great if "Russian Federation" could be mapped correctly to the "Russia" country ID in GeoMap, as both refer to the same entity but with different names.

Actual Behavior:

Currently, the mapping fails, and the data for "Russian Federation" does not display correctly.

Possible Solution:

It would be possible for amCharts Geo to support additional keywords, such as "Russian Federation," to map to "Russia" or provide a method to handle such cases more smoothly.

Additional Information:

This issue seems to apply not only to "Russian Federation" but also to other similar cases where the country name is slightly altered. It would be extremely helpful if amCharts GeoData could handle these variations automatically.

Version: amCharts 5

@martynasma
Copy link
Collaborator

I don't think you should be mapping to country names. You should use country IDs. We use ISO2 country names, like US, FR, ES, etc.

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