Version:
Popular examples
Map
Geo objects
Balloon and hint
Controls
Hotspots
Clustering
GeoQuery
Behaviors and events
Search on a map
Traffic
User's location
Routing
YMapsML
GeoXML
ObjectManager
Modular system
Panoramas
External modules

"Traffic" control

Save as filesEdit on JSFiddle

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.

Пишете на JavaScript? У нас есть вакансии
Mon Oct 31 2022 13:07:25 GMT+0300 (Moscow Standard Time)