Properties
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
Number | code | The status code of the query |
Mapifies.GetMapType(String mapType) : static String
An internal function to get the google maptype constant
String | mapType | The string of the map type. |
Mapifies.GetTravelMode(String travelMode) : static String
An internal function to get the google travel mode constant
String | travelMode | The string of the travel mode. |
Mapifies.createIcon(Object options) : static GIcon
A helper function to create a google GIcon
Object | options | The 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
String | iconImage | The foreground image URL of the icon. |
String | iconShadow | The shadow image URL of the icon. |
GSize | iconSize | The pixel size of the foreground image of the icon. |
GSize | iconShadowSize | The pixel size of the shadow image. |
GPoint | iconAnchor | The pixel coordinate relative to the top left corner of the icon image at which this icon is anchored to the map. |
GPoint | iconInfoWindowAnchor | The pixel coordinate relative to the top left corner of the icon image at which the info window is anchored to this icon. |
String | iconPrintImage | The URL of the foreground icon image used for printed maps. It must be the same size as the main icon image given by image. |
String | iconMozPrintImage | The 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. |
String | iconPrintShadow | The URL of the shadow image used for printed maps. It should be a GIF image since most browsers cannot print PNG images. |
String | iconTransparent | The 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
jQuery | element | The element that contains the map. |
Mapifies.getBounds(jQuery element) : static GSize
A helper function to get the bounds of the map
jQuery | element | The element that contains the map. |