You are here

function getlocations_element_markerclusterer_size in Get Locations 6

Same name and namespace in other branches
  1. 6.2 getlocations.markercluster.inc \getlocations_element_markerclusterer_size()
  2. 7.2 getlocations.markercluster.inc \getlocations_element_markerclusterer_size()
  3. 7 getlocations.markercluster.inc \getlocations_element_markerclusterer_size()
2 calls to getlocations_element_markerclusterer_size()
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 142
@author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Code

function getlocations_element_markerclusterer_size($default) {
  $element = array(
    '#type' => 'select',
    '#title' => t('Marker Clusterer size'),
    '#default_value' => $default,
    '#options' => array(
      '-1' => t('Default'),
      '40' => '40',
      '50' => '50',
      '70' => '70',
      '80' => '80',
    ),
  );
  return $element;
}