ScriptDoc Reference

Functions

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

This function allows you to add a Google Traffic Layer

jQueryelementThe element to initialise the map on.
ObjectoptionsThe object that contains the options.
FunctioncallbackThe callback function to pass out after initialising the map.

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

Default options for AddTrafficInfo

ObjectmapCenterThe 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

jQueryelementThe element to initialise the map on.
GTrafficOverlaytrafficOverlayThe traffic overlay to be removed
FunctioncallbackThe callback function to pass out after initialising the map.