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

1 line
1.9 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":"Chile","id":"004"},"geometry":{"type":"MultiPolygon","coordinates":[[[[-69.51008875199994,-17.506588197999946],[-69.50611446099992,-17.585127054999916],[-69.49712276299996,-17.621403909999884],[-69.47578039599998,-17.652409769999906],[-69.39477758799995,-17.72113942499996],[-69.35940506999995,-17.759379983999864],[-69.33423864799991,-17.805785420999968],[-69.32764990299992,-17.841545510999893],[-69.32687475599991,-17.915132750999888],[-69.31785721899988,-17.951616312999903],[-69.30240596499996,-17.976214293999888],[-69.29002945999991,-17.9766277049999],[-69.27760127799993,-17.967532653999925],[-69.26204667199991,-17.964018655999965],[-69.24189286399991,-17.986756286999935],[-69.2348131919999,-17.99295745799992],[-69.22778519799988,-17.995541279999927],[-69.20416906799997,-18.00112233499995],[-69.17388667799995,-18.01889902799988],[-69.15771195499985,-18.025720315999934],[-69.14083959999996,-18.0307846069999],[-69.11988480699998,-18.029854430999947],[-69.1041751709999,-18.0237566119999],[-69.0920570479999,-18.02334319999997],[-69.08228408699998,-18.039077667999962],[-69.08172176199992,-18.039983011999908],[-69.08921484399994,-18.08308115699991],[-69.12593094999991,-18.111089782999926],[-69.15543819299992,-18.140235289999936],[-69.14120133499995,-18.18684743299991],[-69.11066056399997,-18.21795664499996],[-69.10035111499988,-18.234286396999906],[-69.09694047099993,-18.25754079099991],[-69.09683711799991,-18.267979430999944],[-69.0957519129999,-18.276764423999936],[-69.08102412999992,-18.319139098999955],[-69.07929296899994,-18.32802744599988],[-69.08187678999994,-18.38249440499996],[-69.07782019099994,-18.39882415799991],[-69.04169836499992,-18.457735289999917],[-69.03438614899994,-18.478302510999896],[-69.03490291399987,-18.501040139999887],[-69.0416466879999,-18.54889251699997],[-69.04283524599992,-18.600465596999896],[-69.03384354699989,-18.6494548539999],[-69.01014990299987,-18.689762471999956],[-69.00348364299995,-18.70268157999996],[-69.0011065269999,-18.716220804999935],[-69.00317358499987,-18.729553323999966],[-69.01053747599985,-18.742989196999915],[-69.0106666669999,-18.74371266699991],[-69.01053747599985,-18.744539488999933],[-69.01014990299987,-18.745262959999934],[-68.95464941499998,-18.85698740699989],[-68.95144547599992,-18.867322692999906],[-68.95178137199989,-18.88933685299989],[-68.95984289599988,-18.907837015999903],[-68.98960852099987,-18.946490986999905],[-68.97397639999991,-18.95620615599995],[-68.96170324699989,-18.969435322999942],[-68.94315140899994,-19.001164651999957],[-68.91969030799987,-19.05377126099995],[-68.90850235999994,-19.06793060299991],[-68.8947822669999,-19.076508890999932],[-68.84736914099992,-19.09201181999994],[-68.81540726799994,-19.113302509999926],[-68.72125280799986,-19.191747334999945],[-68.69846350099996,-19.215621845999934],[-68.66332352699993,-19.27360280299989],[-68.63572831299993,-19.290552672999894],[-68.60007157499993,-19.303368428999974],[-68.49320471199991,-19.376955667999965],[-68.4725858159999,-19.395455830999893],[-68.45501582899993,-19.415402933999914],[-68.4476260989999,-19.43462656699994],[-68.45610103399991,-19.44124114999994],[-68.49635697499986,-19.458397724999898],[-68.51020625799993,-19.47162689199989],[-68.53211706599987,-19.50087575299993],[-68.53211706599987,-19.50097910599996],[-68.57673588299994,-19.56460698499997],[-68.63097408099992,-19.64195241299997],[-68.64859574399992,-19.66034922299987],[-68.69029862499985,-19.695385843999887],[-68.70321773299986,-19.715539652999965],[-68.70543981899996,-19.733833109999935],[-68.69841182499994,-19.746338805999926],[-68.6503527429999,-19.781582132999915],[-68.61888179599995,-19.81341481499996],[-68.60157019099995,-19.825403747999914],[-68.5708227129999,-19.837599385999923],[-68.56110754399995,-19.84431732099995],[-68.55351110799998,-19.857856546999926],[-68.55252925699992,-19.864884540999938],[-68.55154740499995,-19.89444346099988],[-68.5469482009999,-19.908189391999912],[-68.54291743999991,-19.91418385799993],[-68.54157385299993,-19