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

Invalid geo map country code causes drawing bug #1503

Open
mjanulaitis opened this issue Apr 30, 2024 · 0 comments
Open

Invalid geo map country code causes drawing bug #1503

mjanulaitis opened this issue Apr 30, 2024 · 0 comments

Comments

@mjanulaitis
Copy link

The bug
When you specify an invalid country code for the geo map, the drawing function breaks from the loop rather than continuing to the next heatland.

To Reproduce
Steps to reproduce the behavior:

  1. Create the GeoMap control and load is with valid and invalid countries.
  2. Notice only the countries prior to the invalid country are drawn.

Expected behavior
The loop should continue to draw the next country.

The Fix
CoreHeatLandSeries line 134:

if (mapLand is null) return;

Should be

if (mapLand is null) continue;

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