You are here

function gmap_location_node_point in GMap Module 7.2

Same name and namespace in other branches
  1. 5 gmap_location.module \gmap_location_node_point()
  2. 6.2 gmap_location.module \gmap_location_node_point()
  3. 6 gmap_location.module \gmap_location_node_point()
  4. 7 gmap_location.module \gmap_location_node_point()

AHAH callback for getting the contents of a node point popup.

1 string reference to 'gmap_location_node_point'
gmap_location_menu in ./gmap_location.module
Implements hook_menu().

File

./gmap_location.module, line 413
GMap Location module is a module to add some gmap funcationality based on location.modules information.

Code

function gmap_location_node_point($node, $opt) {
  $output = '';

  // @@@ Make sure $node->type is an ok thing to do here..
  echo theme(array(
    "gmap_location_infowindow_node__{$node->type}",
    'gmap_location_infowindow_node',
  ), array(
    'node' => $node,
    'opt' => $opt,
  ));

  // exit();
  return NULL;
}