Skip to content

Latest commit

 

History

History
44 lines (23 loc) · 890 Bytes

TransitLayer.md

File metadata and controls

44 lines (23 loc) · 890 Bytes

See html formatted version

TransitLayer class

google.maps.TransitLayer class

A transit layer.

This class extends MVCObject.

Constructor

undefined

TransitLayer()

Parameters:  None

A layer that displays transit lines.

Methods

undefined

getMap()

Parameters:  None

Return Value:  Map

Returns the map on which this layer is displayed.

undefined

setMap(map)

Parameters: 

Return Value:  None

Renders the layer on the specified map. If map is set to null, the layer will be removed.