To add the Bike layer:
To add the Traffic layer:
However, you can use the code below to add the Google Transit layer it as a custom tile layer. This will load the image tiles directly from Google’s servers:
This loads the full image types, so any other styles you’ve applied to the basemap will get covered up. Unlike Google Transit, the stations won’t be clickable and transit info won’t pop up unless you add your own markers to the map, but this should work ok for just showing transit routes.