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

1 line
1.0 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":"Papua New Guinea","id":"009"},"geometry":{"type":"MultiPolygon","coordinates":[[[[140.97445722700002,-2.600518487999921],[140.9873153000001,-2.599786065999922],[141.0078231130001,-2.608168226999908],[141.0429793630001,-2.589776299999926],[141.08130944100003,-2.594333591999941],[141.121429884,-2.607517184999949],[141.16228274800005,-2.615004164999959],[141.1933699880001,-2.615004164999959],[141.20582116000003,-2.619561455999929],[141.214203321,-2.625095309999949],[141.2207137380001,-2.630629164999959],[141.2275496750001,-2.634942315999922],[141.23902428500003,-2.637465101999908],[141.2646590500001,-2.638604424999926],[141.2758895190001,-2.642347914999959],[141.28052819100003,-2.648614190999922],[141.29086347700002,-2.669691664999959],[141.296234571,-2.676446221999925],[141.309418165,-2.671319268999923],[141.338226759,-2.701836846999925],[141.36085045700008,-2.71062590899993],[141.38233483200008,-2.713555596999925],[141.5761824880001,-2.794040622999944],[141.8012801440001,-2.90007903399993],[141.83277428500003,-2.90593840899993],[141.83611087300005,-2.91334400799991],[141.8364363940001,-2.923272393999923],[141.840668165,-2.933200778999947],[141.88542728000004,-2.963799737999921],[141.90552819100003,-2.967217705999929],[141.94304446700005,-2.960137627999927],[142.0000106130001,-2.955987237999921],[142.01042728000004,-2.960381768999923],[142.0649520190001,-3.008965752999927],[142.0703231130001,-3.018487237999921],[142.06812584700003,-3.02703215899993],[142.0634871750001,-3.038262627999927],[142.06031334700003,-3.049981377999927],[142.062836134,-3.060153903999947],[142.069672071,-3.062107028999947],[142.09522545700008,-3.06414153399993],[142.1045028000001,-3.066989841999941],[142.13746178500003,-3.055596612999921],[142.15935306100005,-3.066013278999947],[142.18189537900003,-3.080173434999949],[142.20386803500003,-3.087497653999947],[142.2265731130001,-3.089450778999947],[142.241547071,-3.094414971999925],[142.2695418630001,-3.107842705999929],[142.39470462300005,-3.144463799999926],[142.5019637380001,-3.196058851999908],[142.615570509,-3.231052341999941],[142.81226647200003,-3.290948174999926],[142.8344832690001,-3.293389580999929],[142.84595787900003,-3.29615650799991],[142.87916100400003,-3.313897393999923],[142.89226321700005,-3.31568775799991],[142.90650475400003,-3.31609465899993],[142.9199324880001,-3.31804778399993],[142.94898522200003,-3.335056247999944],[143.0293074880001,-3.355564059999949],[143.05193118600005,-3.356052341999941],[143.08513431100005,-3.353122653999947],[143.102386915,-3.351657809999949],[143.11866295700008,-3.355564059999949],[143.1254988940001,-3.348077080999929],[143.14226321700005,-3.354913018999923],[143.21119225400003,-3.361748955999929],[143.2207137380001,-3.36492278399993],[143.23951256600003,-3.379082940999922],[143.25220787900003,-3.382256768999923],[143.26441491000003,-3.382989190999922],[143.477875196,-3.420586846999925],[143.52295983200008,-3.435967705999929],[143.540375196,-3.447686455999929],[143.59791100400003,-3.505059502999927],[143.6079207690001,-3.532972914999959],[143.61207116000003,-3.539808851999908],[143.61866295700008,-3.544854424999926],[143.63445071700005,-3.551446221999925],[143.6425887380001,-3.556573174999926],[143.6508895190001,-3.560723565999922],[143.68043053500003,-3.570245049999926],[143.68433678500003,-3.574314059999949],[143.69320722700002,-3.570082289999959],[143.70777428500003,-3.559747002999927],[143.71355228000004,-3.559991143999923],[143.72022545700008,-3.562269789999959],[143.72234134200005,-3.568536065999922],[143.71461022200003,-3.580824476999908],[143.72388756600003,-3.59343840899993],[143.73422285200002,-3.602146091999941],[143.74781334700003,-3.607191664999959],[143.78345787900003,-3.610039971999925],[143.80250084700003,-3.614353122999944],[143.81804446700005,-3.621677341999941],[143.85515384200005,-3.680108330999929],[143.8676863940001,-3.68914153399993],[143.90894616000003,-3.707696221999925],[143.92367597700002,-3.711195570999905],[143.94711347700002,-3.72234465899993],[