A control is a visual object that allows the user to manipulate the map (for example, move the map, change its type, or change the zoom).
Each control is implemented by a separate class from the 'control' namespace (for example, control.Button).
The "Traffic" control can be enabled either via the 'trafficControl' key, or by creating an instance of the control.TrafficControl class. When creating an instance of the class, you can specify the initial state of the control.
A control is a visual object that allows the user to manipulate the map (for example, move the map, change its type, or change the zoom).
Each control is implemented by a separate class from the 'control' namespace (for example, control.Button).
The "Traffic" control can be enabled either via the 'trafficControl' key, or by creating an instance of the control.TrafficControl class. When creating an instance of the class, you can specify the initial state of the control.