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

jQueryelementThe element to initialise the map on.
ObjectoptionsThe object that contains the options.
FunctioncallbackThe 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

ObjectpointLatLngThe Lat/Lng coordinates of the marker.
StringpointHTMLThe HTML to appear in the markers info window.
StringpointOpenHTMLEventThe javascript event type to open the marker info window. Default is 'click'.
BooleanpointIsDraggableDefines if the point is draggable by the end user. Default false.
BooleanpointIsRemovableDefines if the point can be removed by the user. Default false.
BooleanpointRemoveEventThe event type to remove a marker. Default 'dblclick'.
NumberpointMinZoomThe minimum zoom level to display the marker if using a marker manager.
NumberpointMaxZoomThe maximum zoom level to display the marker if using a marker manager.
GIconpointIconA GIcon to display instead of the standard marker graphic.
BooleancenterMapAutomatically center the map on the new marker. Default false.
StringcenterMoveMethodThe 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

jQueryelementThe element to initialise the map on.
GMarkeroptionsThe marker to be removed
FunctioncallbackThe 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.

jQueryelementThe element to initialise the map on.
GMarkeroptionsThe marker to be removed
FunctioncallbackThe 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

StringmarkerManagerThe type of marker manager to use. Options are 'GMarkerManager' (default) and 'MarkerManager'. (Added r72)
NumberborderPaddingSpecifies, 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.
NumbermaxZoomThe maximum zoom level to show markers at
BooleantrackMarkersIndicates whether or not a marker manager should track markers' movements.