You are here

function openlayers_views_style_map::option_definition in Openlayers 7.2

Same name and namespace in other branches
  1. 6.2 modules/openlayers_views/views/openlayers_views_style_map.inc \openlayers_views_style_map::option_definition()
  2. 6 modules/openlayers_views/views/openlayers_views_style_map.inc \openlayers_views_style_map::option_definition()

Set default options

Overrides views_plugin_style::option_definition

File

modules/openlayers_views/views/openlayers_views_style_map.inc, line 27
This file holds style plugin for OpenLayers Views

Class

openlayers_views_style_map
@class Extension of the Views Plugin Syle for OpenLayers

Code

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