PromucFlow_constructor/app/client/public/static/maps/EUROPE.json

1 line
215 KiB
JSON
Raw Normal View History

chore: [Map chart widget] Replace fusion charts with Echarts as chart provider (#31482) # Description This pr replaces fusion chart lib with echarts in the map chart widget. It also checkins the necessary maps. #### PR fixes following issue(s) Fixes https://github.com/appsmithorg/appsmith/issues/31081 #### Type of change - Chore (housekeeping or task changes that don't impact user perception) ## Testing > #### How Has This Been Tested? > Please describe the tests that you ran to verify your changes. Also list any relevant details for your test configuration. > Delete anything that is not relevant - [x] Manual - [ ] JUnit - [ ] Jest - [ ] Cypress > > #### Test Plan > Add Testsmith test cases links that relate to this PR > > #### Issues raised during DP testing > Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR) > > > ## Checklist: #### Dev activity - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [x] New and existing unit tests pass locally with my changes - [ ] PR is being merged under a feature flag #### QA activity: - [ ] [Speedbreak features](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#speedbreakers-) have been covered - [ ] Test plan covers all impacted features and [areas of interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#areas-of-interest-) - [ ] Test plan has been peer reviewed by project stakeholders and other QA members - [ ] Manually tested functionality on DP - [ ] We had an implementation alignment call with stakeholders post QA Round 2 - [ ] Cypress test cases have been added and approved by SDET/manual QA - [ ] Added `Test Plan Approved` label after Cypress tests were reviewed - [ ] Added `Test Plan Approved` label after JUnit tests were reviewed <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Updated the Widget interface to make link properties optional, enhancing flexibility. - Added a `retryPromise` function for improved error handling and retry logic in asynchronous operations. - Introduced new mapping data and utilities for the MapChartWidget, enabling detailed country/region information and dynamic map types. - **Enhancements** - Improved error handling in widget callouts to gracefully handle missing links. - Enhanced the MapChartWidget with new functionalities including dynamic map data loading, chart resizing, and skeleton UI for loading state. - **Refactor** - Refactored chart configurations and event handling in MapChartWidget for better performance and readability. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-03-08 08:08:55 +00:00
{"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[[[[47.9201,45.5623],[47.9176,45.6181],[47.947,45.6468],[47.987,45.5541],[47.983,45.488],[47.9201,45.5623]]],[[[22.7663,54.3568],[22.7316,54.35],[22.1682,54.3599],[21.6339,54.3766],[21.1403,54.3917],[20.2082,54.4208],[19.6439,54.4472],[19.6045,54.459],[19.7587,54.5447],[19.8589,54.6337],[19.9441,54.7501],[19.9749,54.9213],[20.1076,54.9564],[20.3967,54.9514],[20.5202,54.9949],[20.6789,55.1028],[20.8454,55.232],[20.9,55.2867],[20.958,55.2791],[20.8595,55.1837],[20.595,54.9824],[20.678,54.9556],[20.7743,54.9471],[20.8872,54.9095],[20.9957,54.9029],[21.1887,54.9352],[21.2229,55.1076],[21.2357,55.2641],[21.3895,55.2757],[21.447,55.2344],[21.5543,55.1953],[21.8742,55.1008],[22.0723,55.0637],[22.1379,55.0595],[22.3467,55.0641],[22.5676,55.0591],[22.6275,54.9708],[22.7364,54.9288],[22.8243,54.8712],[22.8313,54.8385],[22.7096,54.6326],[22.6846,54.5629],[22.6797,54.493],[22.7241,54.4056],[22.7663,54.3568]]],[[[35.8489,65.1428],[35.8585,65.0779],[35.8273,65.0367],[35.8427,65.0015],[35.7785,64.9767],[35.6801,65.0577],[35.6216,65.0589],[35.5583,65.0936],[35.5289,65.1511],[35.6084,65.157],[35.7293,65.1975],[35.8163,65.1821],[35.8489,65.1428]]],[[[42.6757,66.6881],[42.4776,66.7351],[42.4683,66.7854],[42.5474,66.7956],[42.6313,66.7821],[42.7135,66.7017],[42.6757,66.6881]]],[[[48.9533,69.5092],[49.2249,69.5111],[49.9966,69.3094],[50.1675,69.2571],[50.2651,69.1857],[50.2827,69.0888],[50.1645,69.0376],[50.1411,69.0983],[50.0941,69.1255],[49.921,69.0532],[49.8397,68.9737],[49.6261,68.8597],[49.1805,68.7784],[48.9102,68.7432],[48.6668,68.7331],[48.4387,68.8047],[48.3157,68.9425],[48.2792,69.0402],[48.2805,69.0967],[48.32,69.2694],[48.4141,69.3457],[48.6317,69.436],[48.8453,69.4947],[48.9533,69.5092]]],[[[48.5727,41.8445],[48.4308,41.6635],[48.3912,41.602],[48.2981,41.5448],[48.1425,41.4846],[48.0564,41.4586],[47.9636,41.3343],[47.8609,41.213],[47.7914,41.199],[47.5202,41.2288],[47.3177,41.2825],[47.261,41.3149],[47.2052,41.4556],[47.1428,41.5162],[47.0105,41.5874],[46.9309,41.6705],[46.8259,41.7434],[46.7494,41.8124],[46.6901,41.8313],[46.6163,41.8067],[46.5522,41.812],[46.5376,41.8705],[46.4299,41.8906],[46.4115,41.9047],[46.2678,41.9605],[46.2129,41.9896],[46.0485,42.0089],[45.954,42.0356],[45.846,42.1099],[45.7269,42.1588],[45.639,42.2048],[45.6341,42.2347],[45.6886,42.3574],[45.7278,42.4751],[45.6556,42.5173],[45.5629,42.5357],[45.3437,42.53],[45.2082,42.6482],[45.1604,42.6751],[45.0716,42.694],[44.8707,42.7564],[44.8506,42.7472],[44.771,42.617],[44.6919,42.7098],[44.6445,42.7344],[44.5763,42.7484],[44.5061,42.7489],[44.3298,42.7037],[44.1031,42.6166],[44.0047,42.5955],[43.9571,42.5665],[43.8257,42.5718],[43.7599,42.5938],[43.7383,42.617],[43.7501,42.6575],[43.7954,42.7032],[43.7822,42.7472],[43.6232,42.8078],[43.5577,42.8447],[43.3477,42.8966],[43.0892,42.9888],[43.0005,43.0499],[42.9917,43.0917],[42.8902,43.1325],[42.7606,43.1694],[42.5663,43.1549],[42.4191,43.2243],[42.2797,43.2284],[42.1225,43.2072],[42.0499,43.1901],[41.5806,43.2191],[41.4606,43.2762],[41.3583,43.3334],[41.0832,43.3746],[40.9421,43.4181],[40.8014,43.4798],[40.6481,43.5342],[40.5189,43.5117],[40.3422,43.5429],[40.1502,43.5698],[40.0847,43.5531],[39.9784,43.4199],[39.8734,43.4727],[39.5165,43.728],[39.3293,43.8972],[38.7172,44.2883],[38.6358,44.3178],[38.3119,44.3745],[38.1814,44.4196],[37.8514,44.6988],[37.705,44.6616],[37.5723,44.6708],[37.495,44.6952],[37.4111,44.7352],[37.3522,44.7885],[37.284,44.9053],[37.205,44.9718],[36.9444,45.0695],[36.6509,45.1264],[36.6192,45.1852],[36.8732,45.2517],[36.9413,45.2895],[36.7206,45.3717],[36.7937,45.41],[36.8661,45.4271],[36.9777,45.3836],[37.1034,45.303],[37.2138,45.2722],[37.2643,45.3109],[37.6475,45.377],[37.673,45.43],[37.6716,45.4885],[37.6101,45.4997],[37.6123,45.5649],[37.669,45.6541],[37.8409,45.7996],[37.9332,46.0018],[38.014,46.0478],[38.0737,46.0171],[38.0799,45.9349],[38.1331,46.003],[38.1837,46.0949],[38.3119,46.0954],[38.4003,46.0802],[38.4921,46.0906],[38.3155,46.2416],[38.0778,46.3944],[37.9776,46.383],[37