Explanation of how to make a foxhole stye map

Hello, i am making a game similar to foxhole and i want to add a map system similar to this:

I am not asking for a script just asking for a general explanation of the best way to implement it

are you wanting to load and unload stuff?

did you even watch the video?, i want a way to visualize captured territory on a map

OH I didnt realise it was a video

Just use graphic user interfaces

oh wow, i think you missing the point, how would i even be able to do it. that’s the problem

just make use image buttons and change there color?

naw fr, asking the devforum was a mistake.

i think i thought of a solution to my problem:
I can divide the world into a array of grids, then i can change the value based on what the team color of the player that has “captured” that grid is, with this i can then relay all that information to a gui map

If you think that’s the solution, please mark it so.