You are here

function gmap_views_plugins in GMap Module 7.2

Same name and namespace in other branches
  1. 6.2 gmap.module \gmap_views_plugins()
  2. 6 gmap.module \gmap_views_plugins()
  3. 7 gmap.module \gmap_views_plugins()

Implements hook_views_plugins().

@todo move this to GmapViews class

File

./gmap.module, line 1386
GMap -- Routines to use the Google Maps API in Drupal.

Code

function gmap_views_plugins() {
  return array(
    'module' => 'gmap',
    'style' => array(
      'gmap' => array(
        'title' => t('GMap'),
        'help' => t('Displays rows as a map.'),
        'handler' => 'gmap_plugin_style_gmap',
        'theme' => 'gmap_view_gmap',
        'uses row plugin' => TRUE,
        'uses grouping' => TRUE,
        'uses options' => TRUE,
        'type' => 'normal',
      ),
      'gmapextended' => array(
        'title' => t('Extended GMap'),
        'help' => t('Displays a map of markers.'),
        'handler' => 'gmap_plugin_style_gmapextended',
        'theme' => 'gmap_views_view_gmapextended',
        'uses row plugin' => TRUE,
        'uses fields' => TRUE,
        'uses options' => TRUE,
        // 'uses grouping' => TRUE,
        'type' => 'normal',
      ),
    ),
  );
}