You are here

function getlocations_element_map_zoom_controltype in Get Locations 6.2

Same name and namespace in other branches
  1. 6 getlocations.module \getlocations_element_map_zoom_controltype()
  2. 7.2 getlocations.module \getlocations_element_map_zoom_controltype()
  3. 7 getlocations.module \getlocations_element_map_zoom_controltype()
1 call to getlocations_element_map_zoom_controltype()
getlocations_map_display_options_form in ./getlocations.module

File

./getlocations.module, line 1277
Displays locations on a map. for Drupal 6 using version 3 googlemaps API

Code

function getlocations_element_map_zoom_controltype($default) {
  $element = array(
    '#type' => 'select',
    '#title' => t('Zoom Control type'),
    '#options' => array(
      'none' => t('None'),
      'default' => t('Default'),
      'small' => t('Small'),
      'large' => t('Large'),
    ),
    '#default_value' => $default,
  );
  return $element;
}