ScriptDoc Reference

Properties

static Object Mapifies.createIcon.defaults.defaults

Default options for createIcon

Functions

Mapifies.SearchCode(Number code) : static Object

A helper method that allows you to pass the status code of a search and get back a friendly oject

NumbercodeThe status code of the query

Mapifies.GetMapType(String mapType) : static String

An internal function to get the google maptype constant

StringmapTypeThe string of the map type.

Mapifies.GetTravelMode(String travelMode) : static String

An internal function to get the google travel mode constant

StringtravelModeThe string of the travel mode.

Mapifies.createIcon(Object options) : static GIcon

A helper function to create a google GIcon

ObjectoptionsThe options to create the icon

Mapifies.createIcon.defaults(String iconImage, String iconShadow, GSize iconSize, GSize iconShadowSize, GPoint iconAnchor, GPoint iconInfoWindowAnchor, String iconPrintImage, String iconMozPrintImage, String iconPrintShadow, String iconTransparent) : static Object

Default options for createIcon

StringiconImageThe foreground image URL of the icon.
StringiconShadowThe shadow image URL of the icon.
GSizeiconSizeThe pixel size of the foreground image of the icon.
GSizeiconShadowSizeThe pixel size of the shadow image.
GPointiconAnchorThe pixel coordinate relative to the top left corner of the icon image at which this icon is anchored to the map.
GPointiconInfoWindowAnchorThe pixel coordinate relative to the top left corner of the icon image at which the info window is anchored to this icon.
StringiconPrintImageThe URL of the foreground icon image used for printed maps. It must be the same size as the main icon image given by image.
StringiconMozPrintImageThe URL of the foreground icon image used for printed maps in Firefox/Mozilla. It must be the same size as the main icon image given by image.
StringiconPrintShadowThe URL of the shadow image used for printed maps. It should be a GIF image since most browsers cannot print PNG images.
StringiconTransparentThe URL of a virtually transparent version of the foreground icon image used to capture click events in Internet Explorer. This image should be a 24-bit PNG version of the main icon image with 1% opacity, but the same shape and size as the main icon.

Mapifies.getCenter(jQuery element) : static GLatLng

A helper function to get the map center as a GLatLng

jQueryelementThe element that contains the map.

Mapifies.getBounds(jQuery element) : static GSize

A helper function to get the bounds of the map

jQueryelementThe element that contains the map.