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

1 line
5.6 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":"Indonesia","id":"015"},"geometry":{"type":"MultiPolygon","coordinates":[[[[117.70360790395524,4.163414542001791],[117.70360790400008,4.163414542000055],[117.73807146200011,4.157241908000032],[117.78357224700005,4.157241908000032],[117.85255730900013,4.157241908000032],[117.9070390276059,4.156683015004099],[117.91211998800009,4.144924221000053],[117.91822350400003,4.100043036000045],[117.93482506600003,4.059881903000075],[117.90137780000009,4.036688544000071],[117.887054884,4.031927802000041],[117.87256920700008,4.03156159100007],[117.83855228000004,4.040187893000052],[117.81910241000003,4.06867096600007],[117.76270592500009,4.100734768000052],[117.73943118600005,4.132310289000088],[117.70360790395524,4.163414542001791]]],[[[124.45053144600001,-9.180189710999912],[124.46583092500009,-9.17937590899993],[124.51783287900003,-9.17782968499995],[124.56324303500003,-9.17083098799992],[124.60434004000001,-9.15634530999995],[124.66797936300009,-9.11305103999996],[124.67115319100003,-9.10751718499995],[124.67318769600001,-9.09929778399993],[124.68360436300009,-9.074802341999941],[124.68799889400009,-9.069512627999927],[124.69157962300005,-9.067803643999923],[124.75806725400003,-9.047946872999944],[124.76734459700003,-9.042901299999926],[124.78882897200003,-9.018975518999923],[124.82496178500003,-9.008070570999905],[124.84034264400009,-9.001071872999944],[124.86988366000003,-8.994398695999905],[124.89714603000004,-8.974541924999926],[124.91928144600001,-8.962090752999927],[124.91950720683661,-8.962015500097579],[124.92248295100006,-8.986323750999958],[124.90915043100011,-9.020326842999907],[124.90791019700009,-9.037483418999955],[124.91297448700004,-9.05277964199992],[124.92129439300004,-9.065492044999885],[124.93302494300008,-9.07448374399992],[124.94785608000012,-9.07851450599992],[124.96589115400002,-9.077274271999968],[124.97891361500007,-9.072003274999943],[125.00444177300011,-9.055570169999967],[125.05182906100009,-9.035002949999893],[125.06531661000014,-9.023220723999898],[125.06857222500003,-9.015882669999897],[125.07301639900004,-8.996452331999919],[125.07647871900008,-8.990767923999968],[125.08681400600011,-8.98622039799993],[125.09151656100005,-8.988597513999892],[125.09528894100009,-8.994798684999878],[125.10252364200005,-9.00130991599994],[125.12133386200009,-9.011851907999898],[125.13942061400007,-9.024771015999917],[125.15399336800016,-9.040790709999953],[125.1623649500001,-9.06063446099995],[125.16200321400004,-9.082338561999947],[125.14500166900007,-9.145177103999927],[125.14696537300006,-9.154478861999863],[125.1512028410001,-9.165020852999916],[125.15265373200015,-9.170824418999956],[125.153890015,-9.17576955099993],[125.15063440000011,-9.185381367999952],[125.14252120000003,-9.189102070999866],[125.11792321800016,-9.187551777999943],[125.10696781400009,-9.188481953999897],[125.09146488400006,-9.196750182999935],[125.08257653800001,-9.20553517699993],[125.0739465740001,-9.211322936999906],[125.05968387900009,-9.21049611399988],[125.05337935400007,-9.206672057999938],[125.04144209800006,-9.193236185999893],[125.034517456,-9.188171895999915],[125.02769616800003,-9.186311543999906],[125.00723230100004,-9.186104837999949],[124.97446944200016,-9.191892598999914],[124.95793298400008,-9.21194305399996],[124.9541089280001,-9.241501973999988],[124.9601550700001,-9.276021829999877],[124.96599450700006,-9.293385111999896],[124.97281579600013,-9.304650572999947],[124.9966903080001,-9.325837910999908],[125.01787764500006,-9.338963724999886],[125.02340702400016,-9.345578307999887],[125.02480228700006,-9.351986184999916],[125.02278690600008,-9.367695820999884],[125.02376875800007,-9.3747238159999],[125.04629968300009,-9.409863788999942],[125.05093075400009,-9.42469684299995],[125.06161543100006,-9.485772393999923],[125.06128991000003,-9.48601653399993],[125.03077233200008,-9.50750090899993],[125.00196373800009,-9.536309502999927],[124.98658287900003,-9.577325127999927],[124.97974694100003,-9.649021091999941],[124.97071373800009,-9.662367445999905],