# ScriptDoc Reference

## Functions

### Mapifies.AddTrafficInfo(jQuery element, Object options, Function callback) : static Function

This function allows you to add a Google Traffic Layer

jQuery | element | The element to initialise the map on.
Object | options | The object that contains the options.
Function | callback | The callback function to pass out after initialising the map.

### Mapifies.AddTrafficInfo.defaults(Object mapCenter) : static Object

Default options for AddTrafficInfo

Object | mapCenter | The Lat/Lng to center the map on

### Mapifies.RemoveTrafficInfo(jQuery element, GTrafficOverlay trafficOverlay, Function callback) : static Function

This function allows you to remove a traffic layer from the map

jQuery | element | The element to initialise the map on.
GTrafficOverlay | trafficOverlay | The traffic overlay to be removed
Function | callback | The callback function to pass out after initialising the map.