You are here

function getlocations_element_markerclusterer_minsize in Get Locations 6

Same name and namespace in other branches
  1. 6.2 getlocations.markercluster.inc \getlocations_element_markerclusterer_minsize()
  2. 7.2 getlocations.markercluster.inc \getlocations_element_markerclusterer_minsize()
  3. 7 getlocations.markercluster.inc \getlocations_element_markerclusterer_minsize()
2 calls to getlocations_element_markerclusterer_minsize()
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.markercluster.inc, line 159
@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;
}