You are here

function getlocations_element_markerclusterer_style in Get Locations 6

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

Code

function getlocations_element_markerclusterer_style($default) {
  $element = array(
    '#type' => 'select',
    '#title' => t('Marker Clusterer style'),
    '#default_value' => $default,
    '#options' => array(
      '-1' => t('Default'),
      '0' => t('People'),
      '1' => t('Conversation'),
      '2' => t('Heart'),
    ),
  );
  return $element;
}