function getlocations_element_map_zoom in Get Locations 6
Same name and namespace in other branches
- 6.2 getlocations.module \getlocations_element_map_zoom()
- 7.2 getlocations.module \getlocations_element_map_zoom()
- 7 getlocations.module \getlocations_element_map_zoom()
2 calls to getlocations_element_map_zoom()
- 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 1263 - Displays locations on a map. for Drupal 6 using version 3 googlemaps API
Code
function getlocations_element_map_zoom($title, $default, $description = '') {
$element = array(
'#type' => 'select',
'#title' => $title,
'#default_value' => $default,
'#options' => drupal_map_assoc(range(0, 20)),
);
if (!empty($description)) {
$element['#description'] = $description;
}
return $element;
}