You are here

function getlocations_element_map_marker in Get Locations 6

Same name and namespace in other branches
  1. 6.2 getlocations.module \getlocations_element_map_marker()
  2. 7.2 getlocations.module \getlocations_element_map_marker()
  3. 7 getlocations.module \getlocations_element_map_marker()

Some form helper functions for admin and views plugin style

2 calls to getlocations_element_map_marker()
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.module, line 1235
Displays locations on a map. for Drupal 6 using version 3 googlemaps API

Code

function getlocations_element_map_marker($title, $options, $default) {
  $element = array(
    '#type' => 'select',
    '#title' => $title,
    '#options' => $options,
    '#default_value' => $default,
  );
  return $element;
}