You are here

function gmap_parse_macro in GMap Module 5

Same name and namespace in other branches
  1. 6.2 gmap.module \gmap_parse_macro()
  2. 6 gmap.module \gmap_parse_macro()
  3. 7.2 gmap.module \gmap_parse_macro()
  4. 7 gmap.module \gmap_parse_macro()

Convert a macro string into a GMap array.

Parameters

$instring: Macro to process.

$ver: Version to treat macro as. Set to 1 when processing very old macros, otherwise leave as is.

Return value

A GMap array.

7 calls to gmap_parse_macro()
gmap_location_author_block_view in ./gmap_location.module
gmap_location_block_view in ./gmap_location.module
gmap_location_node_page in ./gmap_location.module
Draws a page with a google map with the node on it, or if no node is set all of the nodes on it.
gmap_location_user_page in ./gmap_location.module
Draws a page with a google map that has all of the site users.
gmap_set_location in ./gmap.module
Location chooser utility function.

... See full list

File

./gmap.module, line 311
GMap -- Routines to use the Google Maps API in Drupal.

Code

function gmap_parse_macro($instring, $ver = 2) {
  require_once drupal_get_path('module', 'gmap') . '/gmap_parse_macro.inc';
  return _gmap_parse_macro($instring, $ver);
}