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

1 line
5.4 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":"Costa Rica","id":"006"},"geometry":{"type":"MultiPolygon","coordinates":[[[[-83.69649978585412,10.936594144736317],[-83.68686707685461,10.937970246495594],[-83.68176632278032,10.935434518184676],[-83.67833546290187,10.935952757867287],[-83.67299123886046,10.933231989430151],[-83.67299123886046,10.931288568122966],[-83.67556438376928,10.929409915424063],[-83.67556438376928,10.92597648493106],[-83.67127580892124,10.926494741135784],[-83.66619549717815,10.931223787193453],[-83.66535239648923,10.935318186754772],[-83.66075598899994,10.934393622000073],[-83.64435787699995,10.925930080000057],[-83.62425696499992,10.902899481000077],[-83.59870357999995,10.856594143000052],[-83.58055579299992,10.807318427000041],[-83.58287512899994,10.77570221600007],[-83.59756425699993,10.79360586100006],[-83.6238500639999,10.857611395000049],[-83.60692298099991,10.777777411000045],[-83.60863196499992,10.745510158000059],[-83.6375219389999,10.721096096000053],[-83.62222245999993,10.723863023000092],[-83.61188717399995,10.730861721000053],[-83.60216223899994,10.739569403000075],[-83.58910071499992,10.747748114000046],[-83.59365800699993,10.742661851000037],[-83.59471594999991,10.73655833500004],[-83.59300696499992,10.729315497000073],[-83.58910071499992,10.721096096000053],[-83.5852758449999,10.732855536000045],[-83.58104407499991,10.755804755000042],[-83.57542883999992,10.768255927000041],[-83.52696692599994,10.636053778000075],[-83.46617591099994,10.494533596000053],[-83.39452063699991,10.37604401200008],[-83.20372473899994,10.129339911000045],[-83.18838456899994,10.117743231000077],[-83.12466386599993,10.040594794000071],[-83.08531653599994,10.002142645000049],[-83.06151282499991,10.015326239000046],[-83.05239824099993,10.009588934000078],[-83.02603105399993,10.005031643000052],[-83.02057857999995,9.997381903000075],[-83.01984615799995,9.978705145000049],[-83.01667232999995,9.96312083500004],[-83.00934811099995,9.949286200000074],[-82.99632727799991,9.935939846000053],[-82.94977779899995,9.867580471000053],[-82.9348852199999,9.857082424000055],[-82.87726803299995,9.780096747000073],[-82.83381100199995,9.739488023000092],[-82.80825761599993,9.747219143000052],[-82.80247962099992,9.73151276200008],[-82.79698645699995,9.691229559000078],[-82.78774980399993,9.672756252000056],[-82.77232825399994,9.661037502000056],[-82.70523027299993,9.637925523000092],[-82.68138587099992,9.63548411700009],[-82.65794837099992,9.636297919000071],[-82.63589433499993,9.634507554000038],[-82.61644446499992,9.624335028000075],[-82.59142005099994,9.58698151200008],[-82.57457434799994,9.57680898600006],[-82.57359778599994,9.576198635000083],[-82.56283687399991,9.53869537300011],[-82.57061417699992,9.538230285000083],[-82.58588456299987,9.546240133000055],[-82.6011032719999,9.548668925000115],[-82.60820878199993,9.537868551000088],[-82.61239457299988,9.499498800000055],[-82.61885412599992,9.486708883000077],[-82.63213496999992,9.484667663000039],[-82.65071264699989,9.487845764000085],[-82.66820511899994,9.493168437000037],[-82.67804947999991,9.497767639000088],[-82.68866898699991,9.509446513000057],[-82.70145890399988,9.53355356900002],[-82.71169083699996,9.544999899000118],[-82.71972652199995,9.541330872000032],[-82.72936417699995,9.54489654600009],[-82.77109289599989,9.579855652000091],[-82.82902217599994,9.6027224730001],[-82.84747066299985,9.600655416000052],[-82.8660483409999,9.5850749720001],[-82.87739131699988,9.569184469000092],[-82.8792516689999,9.55990854900007],[-82.86713354499989,9.538643697000097],[-82.86020890299991,9.511203512000037],[-82.85591975899985,9.505441590000075],[-82.84938269099987,9.503477885000038],[-82.84478348899992,9.500687358000079],[-82.84638545799996,9.492548320000068],[-82.86129410899991,9.484099223000072],[-82.9146241869999,9.476864522000099],[-82.93330521699997,9.470327454000127],[-82.94170263699993,9.45634897900004],[-82.94428645899987,9.437151185000118],[-82.94320125399986,9.354313863000101],[-82.94165096099994,9.234424540000134],[-82.93952108499991,9.07