amcharts / amcharts4

The most advanced amCharts charting library for JavaScript and TypeScript apps.
https://www.amcharts.com/
1.16k stars 322 forks source link

Resizing breaks country center. #1958

Closed BesoKakulia closed 4 years ago

BesoKakulia commented 4 years ago

Map charts, centered using deltaLongitude, lose center after resizing, example. Do you have any idea how can I fix it? deltaLongitude stays -90 beside the wrong position.

      // Center wide countries
      if (['russia', 'newZealand', 'asia'].includes(mapSettings.identifierName)) {
        mapChart.deltaLongitude = -90
      }
martynasma commented 4 years ago

Can you provide a working example of this? I'm having issue reproducing the issue you have described.

github-actions[bot] commented 4 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days