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

1 line
2.7 MiB
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","properties":{"name":"AF","id":"AF"},"geometry":{"type":"MultiPolygon","coordinates":[[[[-25.36042,17.05524],[-25.31387,17.00495],[-25.31078,16.92609],[-25.18786,16.92817],[-25.11587,16.99746],[-25.01513,17.04914],[-24.97126,17.10733],[-25.02587,17.14492],[-25.03954,17.18244],[-25.10261,17.1966],[-25.20271,17.15876],[-25.27977,17.10733],[-25.3168,17.10611],[-25.36042,17.05524]]],[[[-25.09415,16.82616],[-25.08113,16.83234],[-24.98803,16.78514],[-24.8911,16.81395],[-24.87361,16.83592],[-24.88589,16.86774],[-24.92292,16.89081],[-24.92772,16.91779],[-24.9652,16.90892],[-24.9781,16.923],[-25.0122,16.90127],[-25.00597,16.88768],[-25.0782,16.86506],[-25.09415,16.82616]]],[[[-24.78797,16.77477],[-24.74023,16.73426],[-24.68525,16.74294],[-24.6838,16.75596],[-24.72576,16.75741],[-24.74891,16.79358],[-24.7735,16.80226],[-24.78797,16.77477]]],[[[-24.75894,14.83185],[-24.71056,14.80394],[-24.68326,14.84247],[-24.6931,14.89069],[-24.70434,14.90082],[-24.74942,14.88548],[-24.75894,14.83185]]],[[[-24.60423,16.62142],[-24.5753,16.60551],[-24.56951,16.61997],[-24.60423,16.62142]]],[[[-24.52623,14.92471],[-24.50658,14.88496],[-24.41503,14.82087],[-24.37654,14.81599],[-24.33446,14.83185],[-24.29284,14.87287],[-24.30724,14.97944],[-24.34325,15.04072],[-24.38557,15.04352],[-24.46459,15.00772],[-24.50674,14.96918],[-24.52623,14.92471]]],[[[-24.43065,16.63947],[-24.40827,16.60017],[-24.37092,16.58714],[-24.3247,16.48265],[-24.28637,16.57075],[-24.23331,16.60212],[-24.11474,16.55927],[-24.03283,16.5624],[-24.03283,16.59683],[-24.09,16.62246],[-24.2268,16.6496],[-24.29284,16.64183],[-24.35424,16.68061],[-24.4226,16.6623],[-24.43065,16.63947]]],[[[-23.79259,15.08576],[-23.77208,15.03799],[-23.7307,15.0185],[-23.71508,14.96845],[-23.6765,14.93553],[-23.62413,14.91812],[-23.5393,14.90762],[-23.49401,14.91869],[-23.47789,14.96906],[-23.4431,15.01069],[-23.51138,15.12735],[-23.58422,15.16242],[-23.65608,15.22972],[-23.64855,15.23721],[-23.69734,15.26602],[-23.71068,15.28437],[-23.70324,15.31346],[-23.71923,15.3229],[-23.73795,15.31167],[-23.74413,15.33275],[-23.78576,15.29182],[-23.75158,15.23347],[-23.78576,15.17451],[-23.77208,15.12735],[-23.79259,15.08576]]],[[[-23.25817,15.17451],[-23.18273,15.1186],[-23.1278,15.14663],[-23.11046,15.19941],[-23.1278,15.31167],[-23.16194,15.31257],[-23.17626,15.33275],[-23.21715,15.31916],[-23.20979,15.31167],[-23.25133,15.25642],[-23.23087,15.24396],[-23.25133,15.22289],[-23.25817,15.17451]]],[[[-22.99157,16.78433],[-22.97081,16.75788],[-22.97761,16.68903],[-22.95653,16.69945],[-22.92919,16.59341],[-22.89509,16.61392],[-22.90184,16.63443],[-22.88239,16.68155],[-22.90465,16.73583],[-22.89892,16.83682],[-22.92243,16.8603],[-22.99079,16.81566],[-22.99157,16.78433]]],[[[-22.96398,16.05219],[-22.94555,16.01968],[-22.87389,15.98387],[-22.78759,15.9916],[-22.6798,16.06322],[-22.66657,16.09146],[-22.68212,16.11359],[-22.68248,16.16865],[-22.73469,16.21686],[-22.79381,16.23135],[-22.82942,16.20401],[-22.85253,16.20661],[-22.9156,16.24396],[-22.91356,16.12556],[-22.95775,16.08902],[-22.96398,16.05219]]],[[[-17.53604,14.75739],[-17.43981,14.65375],[-17.42683,14.67487],[-17.43981,14.68846],[-17.41934,14.70897],[-17.43981,14.72207],[-17.41739,14.7377],[-17.33056,14.73631],[-17.22411,14.69042],[-17.13785,14.59903],[-17.07046,14.4654],[-16.95653,14.39012],[-16.93956,14.35586],[-16.94546,14.30142],[-16.89892,14.25996],[-16.87873,14.17455],[-16.82079,14.14346],[-16.786,14.05972],[-16.77505,13.83881],[-16.76887,13.96166],[-16.71711,14.04239],[-16.72789,14.06468],[-16.67858,14.07612],[-16.65225,14.09951],[-16.69685,14.06468],[-16.72106,14.0163],[-16.65416,14.00275],[-16.6317,14.01008],[-16.60033,14.05419],[-16.55655,14.07152],[-16.51317,14.15103],[-16.46036,14.15412],[-16.46874,14.19383],[-16.45295,14.20185],[-16.45474,14.18016],[-16.42772,14.17011],[-16.36474,14.16779],[-16.40469,14.14541],[-16.44148,14.15656],[-16.59073,14.04361],[-16.56835,14.03034],[-16.54235,14.03734],[-16.57677,14.01097],[-16.57641,13.98896],[-16.59899,13.99681],[-16.63793,13.96166],[-16.64631,13.98298