control.storage
Static object.
Instance of util.Storage
Storage for map controls. Defines control keys with their constructors.
By default, the following controls are added to the storage:
- "rulerControl" - Ruler and scale line control.RulerControl.
- "searchControl" - Search box control.SearchControl.
- "trafficControl" - Traffic panel control.TrafficControl.
- "typeSelector" - Panel for selecting the map type control.TypeSelector.
- "zoomControl" - Zoom slider control.ZoomControl.
- "geolocationControl" - Geolocation control control.GeolocationControl.
- "routeEditor" - Route editor control.RouteEditor.
- "fullscreenControl" - Control for full-screen mode control.FullscreenControl.
- "routeButtonControl" - Button with route panel popup control.RouteButton.
- "routePanelControl" - The Route Panel control control.RoutePanel.
Methods
Name |
Returns |
Description |
Adds an object to storage. |
||
Object |
Returns object stored for the specified key, or the primary key, if this is not a string. |
|
Deletes the "key: value" pair from storage. |