You are here

public function gmap_plugin_style_gmap::option_definition in GMap Module 7.2

Same name and namespace in other branches
  1. 6.2 gmap_plugin_style_gmap.inc \gmap_plugin_style_gmap::option_definition()
  2. 6 gmap_plugin_style_gmap.inc \gmap_plugin_style_gmap::option_definition()
  3. 7 gmap_plugin_style_gmap.inc \gmap_plugin_style_gmap::option_definition()

Set default options.

Overrides views_plugin_style::option_definition

File

./gmap_plugin_style_gmap.inc, line 18
GMap style plugin.

Class

gmap_plugin_style_gmap

Code

public function option_definition() {
  $options = parent::option_definition();
  $options['macro'] = array(
    'default' => '[gmap ]',
  );
  $options['datasource'] = array(
    'default' => 'location',
  );
  $options['markers'] = array(
    'default' => 'static',
  );
  $options['markertype'] = array(
    'default' => 'drupal',
  );
  $options['latfield'] = array(
    'default' => '',
  );
  $options['lonfield'] = array(
    'default' => '',
  );
  $options['markerfield'] = array(
    'default' => '',
  );
  $options['geofield'] = array(
    'default' => '',
  );
  $options['enablermt'] = array(
    'default' => FALSE,
  );
  $options['rmtfield'] = array(
    'default' => '',
  );
  $options['rmtfieldraw'] = array(
    'default' => TRUE,
  );
  $options['rmtcallback'] = array(
    'default' => '',
  );
  $options['center_on_nodearg'] = array(
    'default' => 0,
  );
  $options['center_on_nodearg_arg'] = array(
    'default' => '',
  );
  $options['center_on_proximityarg'] = array(
    'default' => 0,
  );
  $options['animation'] = array(
    'default' => 0,
  );
  $options['highlight_nodearg'] = array(
    'default' => 0,
  );
  $options['highlight_nodearg_arg'] = array(
    'default' => '',
  );
  $options['highlight_nodearg_color'] = array(
    'default' => '#FF0000',
  );
  $options['autoclick_on_nodearg'] = array(
    'default' => 0,
  );
  $options['autoclick_on_nodearg_arg'] = array(
    'default' => '',
  );
  $options['tooltipenabled'] = array(
    'default' => 0,
  );
  $options['tooltipfield'] = array(
    'default' => '',
  );
  $options['bubbletextenabled'] = array(
    'default' => 0,
  );
  $options['bubbletextfield'] = array(
    'default' => '',
  );
  return $options;
}