You are here

function getlocations_element_markerclusterer_zoom in Get Locations 6

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

Code

function getlocations_element_markerclusterer_zoom($default) {
  $element = array(
    '#type' => 'select',
    '#title' => t('Marker Clusterer zoom'),
    '#default_value' => $default,
    '#options' => array(
      '-1' => t('Default'),
      '7' => '7',
      '8' => '8',
      '9' => '9',
      '10' => '10',
      '11' => '11',
      '12' => '12',
      '13' => '13',
      '14' => '14',
    ),
  );
  return $element;
}