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