# ScriptDoc Reference

## Properties

### static Object Mapifies.CreateMarkerManager.defaults.defaults

Default options for CreateMarkerManager

## Functions

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

This function allows you to add markers to the map with several options

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.AddMarker.defaults(Object pointLatLng, String pointHTML, String pointOpenHTMLEvent, Boolean pointIsDraggable, Boolean pointIsRemovable, Boolean pointRemoveEvent, Number pointMinZoom, Number pointMaxZoom, GIcon pointIcon, Boolean centerMap, String centerMoveMethod) : static Object

Default options for AddGroundOverlay

Object | pointLatLng | The Lat/Lng coordinates of the marker.
String | pointHTML | The HTML to appear in the markers info window.
String | pointOpenHTMLEvent | The javascript event type to open the marker info window. Default is 'click'.
Boolean | pointIsDraggable | Defines if the point is draggable by the end user. Default false.
Boolean | pointIsRemovable | Defines if the point can be removed by the user. Default false.
Boolean | pointRemoveEvent | The event type to remove a marker. Default 'dblclick'.
Number | pointMinZoom | The minimum zoom level to display the marker if using a marker manager.
Number | pointMaxZoom | The maximum zoom level to display the marker if using a marker manager.
GIcon | pointIcon | A GIcon to display instead of the standard marker graphic.
Boolean | centerMap | Automatically center the map on the new marker. Default false.
String | centerMoveMethod | The method in which to move to the marker. Options are 'normal' (default) and 'pan'. Added r64

### Mapifies.RemoveMarker(jQuery element, GMarker options, Function callback) : static Function

This function allows you to remove markers from the map

jQuery | element | The element to initialise the map on.
GMarker | options | The marker to be removed
Function | callback | The callback function to pass out after initialising the map.

### Mapifies.CreateMarkerManager(jQuery element, GMarker options, Function callback) : static Function

This function allows you to create a marker manager to store and manage any markers created on the map. Google recommends not using this marker manager and instead using the open source one.

jQuery | element | The element to initialise the map on.
GMarker | options | The marker to be removed
Function | callback | The callback function to pass out after initialising the map.

### Mapifies.CreateMarkerManager.defaults(String markerManager, Number borderPadding, Number maxZoom, Boolean trackMarkers) : static Object

Default options for CreateMarkerManager

String | markerManager | The type of marker manager to use. Options are 'GMarkerManager' (default) and 'MarkerManager'. (Added r72)
Number | borderPadding | Specifies, in pixels, the extra padding outside the map's current viewport monitored by a manager. Markers that fall within this padding are added to the map, even if they are not fully visible.
Number | maxZoom | The maximum zoom level to show markers at
Boolean | trackMarkers | Indicates whether or not a marker manager should track markers' movements.