function getdirections_node_setlocations_via in Get Directions 7.3
Function to setup the map to display waypoints
Parameters
string $nids: Required. A comma delimited list of nids
Return value
Returns the themed map
1 call to getdirections_node_setlocations_via()
- getdirections_direction_box in ./
getdirections.module - for colorbox and suchlike
1 string reference to 'getdirections_node_setlocations_via'
- getdirections_menu in ./
getdirections.module - Implement hook_menu().
File
- ./
getdirections.module, line 1195 - Fetches google map directions.
Code
function getdirections_node_setlocations_via($nids, $width = '', $height = '') {
$content = getdirections_entity_setlocations_via($nids, 'node', $width, $height);
return $content;
}