The Yandex.Maps API consists of a large number of interrelated modules.
By default, when the API is enabled, it loads a standard set of modules (package.full), which includes everything needed for working with the API.
A developer who uses the Yandex.Maps API can create custom modules.
In this example, we create a custom control with its own custom layout.
Both the control and the layout are designed as separate modules.
You can define your own module using the define method
After creating the map, a request is made to get the custom module using require
For more information about modules, see the section Modules.