You are here

function getlocations_markermanager_form in Get Locations 7

Same name and namespace in other branches
  1. 7.2 getlocations.module \getlocations_markermanager_form()
3 calls to getlocations_markermanager_form()
getlocations_plugin_style_map::options_form in views/getlocations_plugin_style_map.inc
Provide a form to edit options for this plugin.
getlocations_settings_form in ./getlocations.admin.inc
Function to display the getlocations admin settings form
_getlocations_search_settings_form in modules/getlocations_search/getlocations_search.admin.inc

File

./getlocations.module, line 5118
getlocations.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Code

function getlocations_markermanager_form($defaults) {
  $form = array();
  $form['usemarkermanager'] = getlocations_element_map_checkbox(t('Use Marker manager'), $defaults['usemarkermanager'], t('Use Marker manager. Switching this off will use no manager.'));
  $form['minzoom'] = getlocations_element_map_zoom(t('Minimum Zoom'), $defaults['minzoom'], t('The Minimum zoom level at which markers will be visible.'));
  $form['maxzoom'] = getlocations_element_map_zoom(t('Maximum Zoom'), $defaults['maxzoom'], t('The Maximum zoom level at which markers will be visible.'));
  return $form;
}