google.maps.TransitLayer class
A transit layer.
This class extends MVCObject.
Constructor
TransitLayer()
Parameters: None
A layer that displays transit lines.
Methods
getMap()
Parameters: None
Return Value: Map
Returns the map on which this layer is displayed.
setMap(map)
Parameters:
- map: Map
Return Value: None
Renders the layer on the specified map. If map is set to null, the layer will be removed.