Skip to content

Latest commit

 

History

History
56 lines (29 loc) · 1.2 KB

TrafficLayer.md

File metadata and controls

56 lines (29 loc) · 1.2 KB

See html formatted version

TrafficLayer class

google.maps.TrafficLayer class

A traffic layer.

This class extends MVCObject.

Constructor

undefined

TrafficLayer([opts])

Parameters: 

A layer that displays current road traffic.

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.

undefined

setOptions(options)

Parameters: 

Return Value:  None