You are here

function getlocations_element_markermanagertype in Get Locations 6.2

Same name and namespace in other branches
  1. 6 getlocations.module \getlocations_element_markermanagertype()
  2. 7.2 getlocations.module \getlocations_element_markermanagertype()
  3. 7 getlocations.module \getlocations_element_markermanagertype()
1 call to getlocations_element_markermanagertype()
getlocations_settings_form in ./getlocations.admin.inc
Function to display the getlocations admin settings form

File

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

Code

function getlocations_element_markermanagertype($default) {
  $element = array(
    '#type' => 'select',
    '#title' => t('Marker Manager type'),
    '#default_value' => $default,
    '#options' => array(
      0 => t('None'),
      1 => t('Marker Manager'),
      2 => t('Marker Clusterer'),
    ),
    '#description' => t('The type of marker management software to load, if any.'),
  );
  return $element;
}