function getlocations_element_map_markeraction in Get Locations 6
Same name and namespace in other branches
- 6.2 getlocations.module \getlocations_element_map_markeraction()
- 7.2 getlocations.module \getlocations_element_map_markeraction()
- 7 getlocations.module \getlocations_element_map_markeraction()
2 calls to getlocations_element_map_markeraction()
- getlocations_plugin_style_map::options_form in ./
getlocations_plugin_style_map.inc - getlocations_settings_form in ./
getlocations.admin.inc - Function to display the getlocations admin settings form
File
- ./
getlocations.module, line 1382 - Displays locations on a map. for Drupal 6 using version 3 googlemaps API
Code
function getlocations_element_map_markeraction($default) {
$element = array(
'#type' => 'select',
'#title' => t('Marker action'),
'#default_value' => $default,
'#options' => array(
0 => t('None'),
1 => t('InfoWindow'),
2 => t('InfoBubble'),
3 => t('Link'),
),
'#description' => t('"None" is No action,<br />"InfoWindow" show information in a Google InfoWindow,<br />"InfoBubble" use InfoBubble instead,<br /> "Link" go to a page.'),
);
return $element;
}