TrafficCamera
Traffic Camera Content Layer
Param
Options
Extends
Methods
addTo()
addTo(
map:Map):TrafficCamera
Add the layer to a map.
Parameters
| Parameter | Type | Description | 
|---|---|---|
| map | Map | Map.The map. | 
Returns
- TrafficCamera. this
Overrides
isVisible()
isVisible():
boolean
Returns true if the layer is enabled. Visibility of layer content may be affected by other factors, such as zoom level.
Returns
boolean
- boolean. A boolean indicating the visibility of the layer.
Overrides
remove()
remove():
TrafficCamera
Remove the layer from a map.
Returns
- TrafficCamera. this
Overrides
setVisibility()
setVisibility(
isVisible:boolean):TrafficCamera
Set the visibility of the layer. Visibility of layer content may be affected by other factors, such as zoom level.
Parameters
| Parameter | Type | Description | 
|---|---|---|
| isVisible | boolean | boolean. A boolean indicating the visibility of the layer. | 
Returns
- TrafficCamera. this
Overrides
toggleVisibility()
toggleVisibility():
TrafficCamera
Toggle the visibility of the layer. Visibility of layer content may be affected by other factors, such as zoom level.
Returns
- TrafficCamera. this