You are here

function views_geojson_views_handlers in Views GeoJSON 6

Same name and namespace in other branches
  1. 7 views/views_geojson.views.inc \views_geojson_views_handlers()

Implements hook_views_handlers().

Adds bounding box contextual filter.

File

views/views_geojson.views.inc, line 48
Views plugin definition.

Code

function views_geojson_views_handlers() {
  return array(
    'info' => array(
      'path' => drupal_get_path('module', 'views_geojson') . '/views',
    ),
    'handlers' => array(
      'views_geojson_bbox_argument' => array(
        'parent' => 'views_handler_argument',
      ),
    ),
  );
}