You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @sophiejarlier , I think the more appropriate way to update the bg color of all the area would be to generate a full JSON object (ie updatedOptions) with the new parameters for all the areas (by looping on all the available areas) and trigger the 'update' event with this object a single time. If you don't want to loop over all the areas and if all the areas share the same bg color, you just have to use map.defaultArea option. This option allows you to define or update the default bg color for all the areas. I hope it will help you !
Hi,
I am using Mapael map and I would need to change the color of all our areas in a single row..
I know I can change the color of an area as follow:
But how to change the color of all areas in the same time?
I tried this but it does not work:
Thanks for your help
The text was updated successfully, but these errors were encountered: