Contributions API

Calling all Drupal developers!

Help us get this on the first page of Digg. DIGG NOW!

Modules in 5

gmap.module

Version

1.51.2.133 (checked in on 2008/06/13 at 16:59:38 by bdragon)

Description

GMap Filters is a module to include Google Map in a module

GMap filter allows the insertion of a googlemap in a module. It has a page to creat a macro and then a filter to convet the macro into the html and javascript code required to insert a google map.

Constants

Namesort iconDescription
GMAP_API_VERSION
GMAP_LINECOLOR1
GMAP_LINECOLOR2
GMAP_LINECOLOR3
GMAP_WMS

Functions

Namesort iconDescription
expand_gmapGmap element #process function.
gmap_admin_settingsSettings page. (remove for d6)
gmap_decimalUtility function to allow high-precision decimals to work with the SQL layer. Use concatenation. (Apparently unquoted %s is bad.)
gmap_defaultsGet the defaults for a gmap.
gmap_dimension_validateEnsure a textfield is a valid css dimension string.
gmap_elementsImplementation of hook_elements().
gmap_filterImplementation of hook_filter().
gmap_filter_tipsImplementation of hook_filter_tips().
gmap_geocodeUtility function to use the google maps geocoder server side. This is an easy, quick way to geocode a single address. Note: This is a REMOTE CALL TO GOOGLE. Do NOT use this where performance matters, as it could possibly take several seconds for this...
gmap_get_auto_mapidGenerate a dynamic map identifier.
gmap_get_icondataGet the JSON icon data for all the default markers.
gmap_get_idGet a CSS id for a map and type. Since CSS ids have to be unique, GMap related IDs are assigned by this function.
gmap_get_marker_titlesGet the list of marker titles.
gmap_gmapImplementation of hook_gmap().
gmap_json_queryJSON request interface.
gmap_keys_serviceImplementation of hook_keys_service(). (from the keys api)
gmap_map_cleanupPerform some normalization on the map object to prevent errors.
gmap_menuImplementation of hook_menu().
gmap_parse_macroConvert a macro string into a GMap array.
gmap_set_locationLocation chooser utility function.
gmap_simple_mapSimple way to draw a map from inside a theme.
gmap_todimMake sure a string is a valid css dimension.
gmap_widget_setupSet up widget. This function will change a form element's ID so it is found by the GMap handlers system.
process_gmap_addressAddress widget #process function.
process_gmap_alignAlignment selector #process function.
process_gmap_controlGeneric gmap control #process function.
process_gmap_markerchooserMarker chooser #process function.
process_gmap_overlay_editOverlay editor #process function.
process_gmap_styleStyle fieldset #process function.
theme_gmapGmap element theme hook
theme_gmap_address
theme_gmap_align
theme_gmap_coord
theme_gmap_macrotext
theme_gmap_marker_popupTheme a marker popup. This will get called for markers embedded in macros.
theme_gmap_overlay_editOverlay editor theme function.
theme_gmap_styleTheme a gmap_style fieldset.
_gmap_doheaderSet up the HTML header for GMap.
_gmap_parse_styleParse a macro style definition. Example: #111111/1/100/#111111/1
_gmap_prepareHandle filter preparation.
_gmap_str2coordParse "x.xxxxx , y.yyyyyy (+ x.xxxxx, y.yyyyy ...)" into an array of points.