Transit buttons on the ProvidersToolbar
The constructor
Name | Type | Description |
---|---|---|
providersToolbar | ProvidersToolbar | The providersToolbar on witch the button will be added |
transitMode | String | The transit mode linked to the button |
Draw or remove a frame around the button
The button HTMLElement
The transit mode
Show or hide the button
Click event listener. The button is also it's own event listener.
Name | Type | Description |
---|---|---|
clickEvent | Event | The event to handle |
The button HTMLElement
A reference to the toolbar
The transit mode
Get the transit mode images