You are here

function gm3_field_field_widget_info in Google Maps API V3 7

Implementation of hook_field_widget_info().

File

gm3_field/gm3_field.module, line 399

Code

function gm3_field_field_widget_info() {
  return array(
    'gm3_point_gm3' => array(
      'label' => t('Geo: Point Google Map'),
      'description' => t('Latitude/Longitude pairs entered by clicking on a map.'),
      'field types' => array(
        'gm3_point',
      ),
      'behaviors' => array(
        'multiple values' => FIELD_BEHAVIOR_CUSTOM,
        'default value' => FIELD_BEHAVIOR_DEFAULT,
      ),
    ),
    'gm3_point_text' => array(
      'label' => t('Geo: Point text'),
      'description' => t('Latitude/Longitude pairs entered into a text box'),
      'field types' => array(
        'gm3_point',
      ),
    ),
    'gm3_polygon_gm3' => array(
      'label' => t('Geo: Polygon Google Map'),
      'description' => t('Many Latitude/Longitude pairs which combine to form a shape, entered on a Google map.'),
      'field types' => array(
        'gm3_polygon',
      ),
      'behaviors' => array(
        'multiple values' => FIELD_BEHAVIOR_CUSTOM,
        'default value' => FIELD_BEHAVIOR_DEFAULT,
      ),
    ),
    'gm3_polygon_text' => array(
      'label' => t('Geo: Polygon text'),
      'description' => t('Many Latitude/Longitude pairs which combine to form a shape, entered in a text box.'),
      'field types' => array(
        'gm3_polygon',
      ),
    ),
    'gm3_rectangle_gm3' => array(
      'label' => t('Geo: Rectangle Google Map'),
      'description' => t('Two Latitude/Longitude pairs that combine to form a rectangle, entered on a Google map.'),
      'field types' => array(
        'gm3_rectangle',
      ),
      'behaviors' => array(
        'multiple values' => FIELD_BEHAVIOR_CUSTOM,
        'default value' => FIELD_BEHAVIOR_DEFAULT,
      ),
    ),
    'gm3_rectangle_text' => array(
      'label' => t('Geo: Rectangle text'),
      'description' => t('Two Latitude/Longitude pairs that combine to form a rectangle, entered in a text box.'),
      'field types' => array(
        'gm3_rectangle',
      ),
    ),
    'gm3_polyline_gm3' => array(
      'label' => t('Geo: Polyline Google Map'),
      'description' => t('Many Latitude/Longitude pairs which combine to form a line, entered on a Google map.'),
      'field types' => array(
        'gm3_polyline',
      ),
      'behaviors' => array(
        'multiple values' => FIELD_BEHAVIOR_CUSTOM,
        'default value' => FIELD_BEHAVIOR_DEFAULT,
      ),
    ),
    'gm3_polyline_text' => array(
      'label' => t('Geo: Polygon text'),
      'description' => t('Many Latitude/Longitude pairs which combine to form a shape, entered in a text box.'),
      'field types' => array(
        'gm3_polygon',
      ),
    ),
    'gm3_combination_gm3' => array(
      'label' => t('Geo: Combination Google Map'),
      'description' => t('Whatever you would like, on a Google map.'),
      'field types' => array(
        'gm3_combination',
      ),
      'behaviors' => array(
        'multiple values' => FIELD_BEHAVIOR_CUSTOM,
        'default value' => FIELD_BEHAVIOR_DEFAULT,
      ),
    ),
    'gm3_combination_text' => array(
      'label' => t('Geo: Combination text'),
      'description' => t('Whatever you would like, in a text box.'),
      'field types' => array(
        'gm3_combination',
      ),
    ),
  );
}