All of this is already defined in the template. I'm currently trying to figure out the inner workings, but it's a bit challenging. If Alexey helps, we'll definitely share everything later.
There are many options within the template that need to be adjusted correctly.
P.S. I also have an idea to create a program that would make it easier to create templates, but that will only be after I understand the mechanism and the nuances of creating maps using the generator based on templates.
Best regards, K0Lb@zzeR.