function gmap_plugin_style_gmap::option_definition in GMap Module 7
Same name and namespace in other branches
- 6.2 gmap_plugin_style_gmap.inc \gmap_plugin_style_gmap::option_definition()
- 6 gmap_plugin_style_gmap.inc \gmap_plugin_style_gmap::option_definition()
- 7.2 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 17 - GMap style plugin.
Class
- gmap_plugin_style_gmap
- Style plugin to render a map.
Code
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['enablermt'] = array(
'default' => FALSE,
);
$options['rmtfield'] = array(
'default' => '',
);
$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['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;
}