You are here

function getlocations_element_map_mtc in Get Locations 6

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

File

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

Code

function getlocations_element_map_mtc($default) {
  $element = array(
    '#type' => 'select',
    '#title' => t('Map Control Type'),
    '#options' => array(
      'none' => t('None'),
      'standard' => t('Horizontal bar'),
      'menu' => t('Dropdown'),
    ),
    '#default_value' => $default,
  );
  return $element;
}