You are here

function getlocations_element_markerclusterer_minsize in Get Locations 7

Same name and namespace in other branches
  1. 6.2 getlocations.markercluster.inc \getlocations_element_markerclusterer_minsize()
  2. 6 getlocations.markercluster.inc \getlocations_element_markerclusterer_minsize()
  3. 7.2 getlocations.markercluster.inc \getlocations_element_markerclusterer_minsize()
1 call to getlocations_element_markerclusterer_minsize()
getlocations_markercluster_form in ./getlocations.module

File

./getlocations.markercluster.inc, line 165
getlocations.markercluster.inc @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Code

function getlocations_element_markerclusterer_minsize($default) {
  $element = array(
    '#type' => 'select',
    '#title' => t('Marker Clusterer Minimum markers'),
    '#default_value' => $default,
    '#options' => array(
      '-1' => t('Default'),
      '3' => '3',
      '4' => '4',
      '5' => '5',
      '6' => '6',
      '7' => '7',
      '8' => '8',
      '9' => '9',
      '10' => '10',
      '12' => '12',
      '15' => '15',
      '20' => '20',
    ),
  );
  return $element;
}