Closed lblinformatica closed 3 weeks ago
Hello!
To achieve your goal, I strongly recommend making the API call directly within the Custom Widget code. This way, you can handle the refresh there with the newly provided information.
Hi Alezanello
Ok, i´ll do that
Thank you
Can we access your project?
Current Behavior
Hello, I have a custom widget (Google Maps) that receives a JSON file with latlng coordinates to draw polygons. The list of coordinates is updated to an App State. {"polygons": [{"id": "354780905000020P", "points": [[-23.6646109989999,-46.525249],[-23.66396438899988,-46.52592296499989],[-23.6646361903201,-46.52655044413108],[-23.665249999,-46.52715799999999],[-23.66551036920731,-46.5268110644817],[-23.6661636954268,-46.5274132608231],[-23.6665471695122,-46.52691048368899],[-23.66682554329271,-46.52658382057918],[-23.6661921009146,-46.52597026204259],[-23.66558564375001,-46.52532971829271],[-23.6648599989999,-46.52494899999991],[-23.6646109989999,-46.525249]]}]}
When adding Action to update App State and selecting the Rebuild All Pages option, the current page is not reloaded.
Can you help me solve this please?
Expected Behavior
After select a item, the map must be refreshed:
Steps to Reproduce
Reproducible from Blank
Bug Report Code (Required)
IT4OiMjfsI52rt9G+KXqdcAxnjw5JnIma5ZMju5uZxcgIrHNG7UIec/4VEptXbC+TVc3OGakinkewNKPhdzIN+46B0mcbIBi+M5uaQGVc3GXabqVEaiOSHFBINpKCkiYyKWF3CVTLtdaWWQGw2CECOuydDfdJLrNDVYRB/+kLpDJnXPuQ0SLb3kNh1JWeC/v
Visual documentation
After select a item, the map must be refreshed:
Environment
Additional Information
I need this functionality to improve the user experience