You are here

function views_geojson_bbox_argument::option_definition in Views GeoJSON 6

Same name and namespace in other branches
  1. 7 views/views_geojson_bbox_argument.inc \views_geojson_bbox_argument::option_definition()

File

views/views_geojson_bbox_argument.inc, line 16

Class

views_geojson_bbox_argument
Custom filter to return only points within a provided bounding box.

Code

function option_definition() {
  $options = parent::option_definition();
  $options['arg_id'] = array(
    'default' => 'bbox',
  );
  return $options;
}